From 1b5ced0bb46c4b0669c3d45209e4f97d7e372822 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 8 May 2008 19:46:47 +0000 Subject: Remove stale uninstall tasks from scheduled_uninstalls when necessary. svn path=/main/trunk/; revision=10246 --- pym/_emerge/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pym/_emerge') 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): -- cgit v1.2.3-1-g7c22