From: Zac Medico Date: Thu, 8 May 2008 19:46:47 +0000 (-0000) Subject: Remove stale uninstall tasks from scheduled_uninstalls when necessary. X-Git-Tag: v2.2_pre7~62 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1b5ced0bb46c4b0669c3d45209e4f97d7e372822;p=portage.git Remove stale uninstall tasks from scheduled_uninstalls when necessary. svn path=/main/trunk/; revision=10246 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 38dc14939..9de21126d 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -4013,6 +4013,8 @@ class depgraph(object): mygraph.remove(uninst_task) except KeyError: pass + scheduled_uninstalls.discard(uninst_task) + if uninst_task is not None and \ uninst_task not in ignored_uninstall_tasks and \ myblocker_uninstalls.contains(uninst_task):