projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be4003d
)
Fix Scheduler._choose_pkg() so that it doesn't choose packages prematurely
author
Zac Medico
<zmedico@gentoo.org>
Tue, 29 Jul 2008 16:51:33 +0000
(16:51 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 29 Jul 2008 16:51:33 +0000
(16:51 -0000)
in some cases.
svn path=/main/trunk/; revision=11265
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index 5d1b7f174c736e0a007121cea008d7ad91bcc8e4..91b5c005118b80bfdee7ef649678a1fb998a5ab3 100644
(file)
--- 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()