projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6ab3ea
)
Scheduler: remove uninstall task from pkg_queue
v2.1.9.32
author
Zac Medico
<zmedico@gentoo.org>
Mon, 17 Jan 2011 21:15:51 +0000
(13:15 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 17 Jan 2011 21:18:15 +0000
(13:18 -0800)
pym/_emerge/Scheduler.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/Scheduler.py
b/pym/_emerge/Scheduler.py
index 7f38dedc4e198ac551de30c85257d2d0204e99ea..4ff8893965bf5b98bea990efa4529bee6cfefce0 100644
(file)
--- a/
pym/_emerge/Scheduler.py
+++ b/
pym/_emerge/Scheduler.py
@@
-1445,6
+1445,10
@@
class Scheduler(PollScheduler):
# task complete (if any).
if self._digraph is not None and \
pkg_to_replace in self._digraph:
+ try:
+ self._pkg_queue.remove(pkg_to_replace)
+ except ValueError:
+ pass
self._task_complete(pkg_to_replace)
else:
self._pkg_cache.pop(pkg_to_replace, None)