projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e17be71
)
Scheduler: remove uninstall task from pkg_queue
v2.2.0_alpha16
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:15:51 +0000
(13:15 -0800)
pym/_emerge/Scheduler.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/Scheduler.py
b/pym/_emerge/Scheduler.py
index 463d0d85e70f2769b8e59657c59615796b710a9d..39e8e6eef35df099b226331975d1d517117b83bc 100644
(file)
--- a/
pym/_emerge/Scheduler.py
+++ b/
pym/_emerge/Scheduler.py
@@
-1447,6
+1447,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)