From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RxRlW-0002xL-Gi for garchives@archives.gentoo.org; Tue, 14 Feb 2012 23:26:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63D8DE0B07; Tue, 14 Feb 2012 23:26:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2BD2FE0B07 for ; Tue, 14 Feb 2012 23:26:22 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8EE9E67FB5 for ; Tue, 14 Feb 2012 23:26:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 4A13CE5400 for ; Tue, 14 Feb 2012 23:26:20 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1329261921.c7bf6ba4f18952ad903036234082e784aa29d43e.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/BinpkgFetcher.py pym/_emerge/SpawnProcess.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: c7bf6ba4f18952ad903036234082e784aa29d43e X-VCS-Branch: master Date: Tue, 14 Feb 2012 23:26:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: b177c4bd-2b88-4005-8426-aa43c1329a37 X-Archives-Hash: f6183c11fbf30d22250ff926843e146c commit: c7bf6ba4f18952ad903036234082e784aa29d43e Author: Zac Medico gentoo org> AuthorDate: Tue Feb 14 23:25:21 2012 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Feb 14 23:25:21 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Dc7bf6ba4 AsynchronousTask: skip cancelled check in _start These checks should be irrelevant, since the cancel() method is never called on anything that hasn't been started already. --- pym/_emerge/BinpkgFetcher.py | 3 --- pym/_emerge/SpawnProcess.py | 3 --- 2 files changed, 0 insertions(+), 6 deletions(-) diff --git a/pym/_emerge/BinpkgFetcher.py b/pym/_emerge/BinpkgFetcher.py index baea4d6..f415e2e 100644 --- a/pym/_emerge/BinpkgFetcher.py +++ b/pym/_emerge/BinpkgFetcher.py @@ -28,9 +28,6 @@ class BinpkgFetcher(SpawnProcess): =20 def _start(self): =20 - if self.cancelled: - return - pkg =3D self.pkg pretend =3D self.pretend bintree =3D pkg.root_config.trees["bintree"] diff --git a/pym/_emerge/SpawnProcess.py b/pym/_emerge/SpawnProcess.py index 411e7c6..3e8945b 100644 --- a/pym/_emerge/SpawnProcess.py +++ b/pym/_emerge/SpawnProcess.py @@ -33,9 +33,6 @@ class SpawnProcess(SubProcess): =20 def _start(self): =20 - if self.cancelled: - return - if self.fd_pipes is None: self.fd_pipes =3D {} fd_pipes =3D self.fd_pipes