From e66428d5cce37d174a1daeed80b9d24afa1e889a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 10 May 2008 08:07:35 +0000 Subject: Fix another KeyError, reported in Bug #221107, comment #4. There's no need to remove uninstall tasks from scheduled_uninstalls, so just keep them in there. svn path=/main/trunk/; revision=10277 --- pym/_emerge/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 7891c4426..15e57047e 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -4005,7 +4005,6 @@ class depgraph(object): "uninstall" == node.operation: have_uninstall_task = True uninst_task = node - scheduled_uninstalls.remove(uninst_task) else: vardb = self.trees[node.root]["vartree"].dbapi previous_cpv = vardb.match(node.slot_atom) @@ -4019,7 +4018,6 @@ 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 \ -- cgit v1.2.3-1-g7c22