summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-05-10 08:07:35 +0000
committerZac Medico <zmedico@gentoo.org>2008-05-10 08:07:35 +0000
commite66428d5cce37d174a1daeed80b9d24afa1e889a (patch)
tree69a88904f7d12f4d68c2fc9ac6006962137ebdfd
parenta2b2c4fe6e75975078caa36452377089abe9a95f (diff)
downloadportage-e66428d5cce37d174a1daeed80b9d24afa1e889a.tar.gz
portage-e66428d5cce37d174a1daeed80b9d24afa1e889a.tar.bz2
portage-e66428d5cce37d174a1daeed80b9d24afa1e889a.zip
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
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 0 insertions, 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 \