From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 872FD1581D3 for ; Sun, 26 May 2024 23:28:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA4D7E29C3; Sun, 26 May 2024 23:28:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AB7CBE29C3 for ; Sun, 26 May 2024 23:28:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BEBBA34164C for ; Sun, 26 May 2024 23:28:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59C081ACD for ; Sun, 26 May 2024 23:28:21 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1716766093.305d843be43c79d6b09584280a67e16060e85df0.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: lib/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: lib/_emerge/Scheduler.py X-VCS-Directories: lib/_emerge/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 305d843be43c79d6b09584280a67e16060e85df0 X-VCS-Branch: master Date: Sun, 26 May 2024 23:28:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 12184d07-3f8f-4efd-b257-33447fe1fc07 X-Archives-Hash: 0966261c408086aefb8c089d70a545fd commit: 305d843be43c79d6b09584280a67e16060e85df0 Author: Florian Schmaus gentoo org> AuthorDate: Tue May 21 16:11:53 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun May 26 23:28:13 2024 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=305d843b Scheduler: drop unreachable return statement in _schedule_tasks_imp() Signed-off-by: Florian Schmaus gentoo.org> Signed-off-by: Sam James gentoo.org> lib/_emerge/Scheduler.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/_emerge/Scheduler.py b/lib/_emerge/Scheduler.py index 77318b0b3e..c547c309c2 100644 --- a/lib/_emerge/Scheduler.py +++ b/lib/_emerge/Scheduler.py @@ -1998,8 +1998,6 @@ class Scheduler(PollScheduler): else: task.addExitListener(self._build_exit) - return bool(state_change) - def _get_prefetcher(self, pkg): try: prefetcher = self._prefetchers.pop(pkg, None)