From e6aa6838f9f05f0343f6317ac59920765579f584 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 29 Jul 2008 16:51:33 +0000 Subject: [PATCH] Fix Scheduler._choose_pkg() so that it doesn't choose packages prematurely in some cases. svn path=/main/trunk/; revision=11265 --- pym/_emerge/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.26.2