Make sure all packages to be pruned or depcleaned are added to the graph,
authorZac Medico <zmedico@gentoo.org>
Sun, 17 Feb 2008 01:28:12 +0000 (01:28 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 17 Feb 2008 01:28:12 +0000 (01:28 -0000)
even when they don't have any dependencies.

svn path=/main/trunk/; revision=9347

pym/_emerge/__init__.py

index c266f592e85b4b79459fa33e024c9c214d6932fa..be53f71b8153755b7c77d048fb0f93a262766ef2 100644 (file)
@@ -6592,6 +6592,7 @@ def action_depclean(settings, trees, ldpath_mtimes,
                clean_set = set(cleanlist)
                del cleanlist[:]
                for node in clean_set:
+                       graph.add(node, None)
                        myaux = dict(izip(aux_keys, vardb.aux_get(node, aux_keys)))
                        mydeps = []
                        usedef = vardb.aux_get(pkg, ["USE"])[0].split()