Remove stale uninstall tasks from scheduled_uninstalls when necessary.
authorZac Medico <zmedico@gentoo.org>
Thu, 8 May 2008 19:46:47 +0000 (19:46 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 8 May 2008 19:46:47 +0000 (19:46 -0000)
svn path=/main/trunk/; revision=10246

pym/_emerge/__init__.py

index 38dc14939a1637c708a4392a77ec5e231710277c..9de21126ddec4fb537d676bee6aecde5ca6c7474 100644 (file)
@@ -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):