diff options
-rw-r--r-- | pym/_emerge/Binpkg.py | 2 | ||||
-rw-r--r-- | pym/_emerge/BinpkgPrefetcher.py | 3 | ||||
-rw-r--r-- | pym/_emerge/BinpkgVerifier.py | 2 |
3 files changed, 4 insertions, 3 deletions
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): """ |