From c8beeac6f90b60d093e6ff5800744e45b632e2fa Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 16 Nov 2011 18:09:10 -0800 Subject: [PATCH] Scheduler.py: remove unused vars (pyflakes) --- pym/_emerge/Scheduler.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py index 47f7c4591..fb8fdfb73 100644 --- a/pym/_emerge/Scheduler.py +++ b/pym/_emerge/Scheduler.py @@ -742,7 +742,6 @@ class Scheduler(PollScheduler): self._status_msg("Starting parallel fetch") prefetchers = self._prefetchers - getbinpkg = "--getbinpkg" in self.myopts for pkg in self._mergelist: # mergelist can contain solved Blocker instances @@ -1159,12 +1158,9 @@ class Scheduler(PollScheduler): # If only one package failed then just show it's # whole log for easy viewing. failed_pkg = self._failed_pkgs_all[-1] - build_dir = failed_pkg.build_dir log_file = None log_file_real = None - log_paths = [failed_pkg.build_log] - log_path = self._locate_failure_log(failed_pkg) if log_path is not None: try: @@ -1260,9 +1256,6 @@ class Scheduler(PollScheduler): def _locate_failure_log(self, failed_pkg): - build_dir = failed_pkg.build_dir - log_file = None - log_paths = [failed_pkg.build_log] for log_path in log_paths: @@ -1445,7 +1438,6 @@ class Scheduler(PollScheduler): self._add_prefetchers() self._add_packages() - pkg_queue = self._pkg_queue failed_pkgs = self._failed_pkgs portage.locks._quiet = self._background portage.elog.add_listener(self._elog_listener) -- 2.26.2