Fix a typo in the depclean USE flag handling when populating the
authorZac Medico <zmedico@gentoo.org>
Fri, 4 Apr 2008 06:32:55 +0000 (06:32 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 4 Apr 2008 06:32:55 +0000 (06:32 -0000)
digraph for bug #201045.

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

pym/_emerge/__init__.py

index 3fbb54eaa67a912b2c9858ecd7eadc48933b6efa..aca70204eb54437c261eb9d6bc97640d55c01334 100644 (file)
@@ -6765,7 +6765,7 @@ def action_depclean(settings, trees, ldpath_mtimes,
                        graph.add(node, None)
                        myaux = dict(izip(aux_keys, vardb.aux_get(node, aux_keys)))
                        mydeps = []
-                       usedef = vardb.aux_get(pkg, ["USE"])[0].split()
+                       usedef = vardb.aux_get(node, ["USE"])[0].split()
                        for dep_type, depstr in myaux.iteritems():
                                if not depstr:
                                        continue