From ea011a728a6d928e74561e7697e65805ef7b1282 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 17 Jan 2011 13:15:51 -0800 Subject: [PATCH] Scheduler: remove uninstall task from pkg_queue --- pym/_emerge/Scheduler.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py index 463d0d85e..39e8e6eef 100644 --- 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) -- 2.26.2