From: Zac Medico Date: Tue, 29 Jul 2008 16:51:33 +0000 (-0000) Subject: Fix Scheduler._choose_pkg() so that it doesn't choose packages prematurely X-Git-Tag: v2.2_rc5~19 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e6aa6838f9f05f0343f6317ac59920765579f584;p=portage.git Fix Scheduler._choose_pkg() so that it doesn't choose packages prematurely in some cases. svn path=/main/trunk/; revision=11265 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 5d1b7f174..91b5c0051 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -9567,7 +9567,7 @@ class Scheduler(PollScheduler): if self._choose_pkg_return_early: return None - if self._max_jobs < 2 or self._jobs == 0: + if self._digraph is None: return self._pkg_queue.pop(0) self._prune_digraph()