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

svn path=/main/branches/2.1.2/; revision=9703

bin/emerge

index d8247d0a3407608aff2be21d74add9e2e4733a67..b33bef11687afd5402dcea0f553214b21b9efe12 100755 (executable)
@@ -6312,7 +6312,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