From: Zac Medico Date: Tue, 14 Feb 2012 23:25:21 +0000 (-0800) Subject: AsynchronousTask: skip cancelled check in _start X-Git-Tag: v2.2.0_alpha87~37 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c7bf6ba4f18952ad903036234082e784aa29d43e;p=portage.git 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. --- diff --git a/pym/_emerge/BinpkgFetcher.py b/pym/_emerge/BinpkgFetcher.py index baea4d6d7..f415e2ec7 100644 --- a/pym/_emerge/BinpkgFetcher.py +++ b/pym/_emerge/BinpkgFetcher.py @@ -28,9 +28,6 @@ class BinpkgFetcher(SpawnProcess): def _start(self): - if self.cancelled: - return - pkg = self.pkg pretend = self.pretend bintree = pkg.root_config.trees["bintree"] diff --git a/pym/_emerge/SpawnProcess.py b/pym/_emerge/SpawnProcess.py index 411e7c66a..3e8945b86 100644 --- a/pym/_emerge/SpawnProcess.py +++ b/pym/_emerge/SpawnProcess.py @@ -33,9 +33,6 @@ class SpawnProcess(SubProcess): def _start(self): - if self.cancelled: - return - if self.fd_pipes is None: self.fd_pipes = {} fd_pipes = self.fd_pipes