projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18d9229
)
Use the memoized _choose_pkg() result to return earlier from
author
Zac Medico
<zmedico@gentoo.org>
Sat, 19 Jul 2008 12:30:53 +0000
(12:30 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 19 Jul 2008 12:30:53 +0000
(12:30 -0000)
_schedule_tasks() when possible.
svn path=/main/trunk/; revision=11140
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index f0c36e4587a168d4d00db257030d0bd2f9a5db0e..d8583f9d5a93dc2176a686386cf8abce9ded27d9 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-9460,7
+9460,8
@@
class Scheduler(PollScheduler):
state_change = 0
- while self._can_add_job():
+ while not self._choose_pkg_return_early and \
+ self._can_add_job():
if not self._pkg_queue or self._failed_pkgs:
return (False, state_change)