Add missing scheduler attribute to BinpkgVerifier (broken since the
authorZac Medico <zmedico@gentoo.org>
Sun, 22 Aug 2010 20:52:39 +0000 (13:52 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 22 Aug 2010 20:52:39 +0000 (13:52 -0700)
the addition of FEATURES=compress-build-logs support).

pym/_emerge/Binpkg.py
pym/_emerge/BinpkgPrefetcher.py
pym/_emerge/BinpkgVerifier.py

index 2201decaffae672073ba6a956f154c8d13e69b65..878fcea6d386b8cbc29df2840f9369156a03f3bc 100644 (file)
@@ -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
 
index ca5f7ae968488c4709e0405396b49b5358cc8951..ffa4900034d1cb06a4105e809dd3aade40b259dc 100644 (file)
@@ -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):
index 02a942c943db9eb9710b800f5234bdae70192e01..198091da48439869e241ac44a7287f6d8e804349 100644 (file)
@@ -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):
                """