From: Zac Medico Date: Sun, 22 Aug 2010 20:52:39 +0000 (-0700) Subject: Add missing scheduler attribute to BinpkgVerifier (broken since the X-Git-Tag: v2.2_rc68~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=da222e9bbc08629a2f330108a4ce22057ad4cb32;p=portage.git Add missing scheduler attribute to BinpkgVerifier (broken since the the addition of FEATURES=compress-build-logs support). --- diff --git a/pym/_emerge/Binpkg.py b/pym/_emerge/Binpkg.py index 2201decaf..878fcea6d 100644 --- a/pym/_emerge/Binpkg.py +++ b/pym/_emerge/Binpkg.py @@ -136,7 +136,7 @@ class Binpkg(CompositeTask): if self._verify: logfile = self.settings.get("PORTAGE_LOG_FILE") verifier = BinpkgVerifier(background=self.background, - logfile=logfile, pkg=self.pkg) + logfile=logfile, pkg=self.pkg, scheduler=self.scheduler) self._start_task(verifier, self._verifier_exit) return diff --git a/pym/_emerge/BinpkgPrefetcher.py b/pym/_emerge/BinpkgPrefetcher.py index ca5f7ae96..ffa490003 100644 --- a/pym/_emerge/BinpkgPrefetcher.py +++ b/pym/_emerge/BinpkgPrefetcher.py @@ -26,7 +26,8 @@ class BinpkgPrefetcher(CompositeTask): return verifier = BinpkgVerifier(background=self.background, - logfile=self.scheduler.fetch.log_file, pkg=self.pkg) + logfile=self.scheduler.fetch.log_file, pkg=self.pkg, + scheduler=self.scheduler) self._start_task(verifier, self._verifier_exit) def _verifier_exit(self, verifier): diff --git a/pym/_emerge/BinpkgVerifier.py b/pym/_emerge/BinpkgVerifier.py index 02a942c94..198091da4 100644 --- a/pym/_emerge/BinpkgVerifier.py +++ b/pym/_emerge/BinpkgVerifier.py @@ -14,7 +14,7 @@ from portage.package.ebuild.fetch import _checksum_failure_temp_file import codecs class BinpkgVerifier(AsynchronousTask): - __slots__ = ("logfile", "pkg",) + __slots__ = ("logfile", "pkg", "scheduler") def _start(self): """