Fix reversed order of parent/child parameders to digraph.add().
authorZac Medico <zmedico@gentoo.org>
Sat, 16 Feb 2008 23:12:25 +0000 (23:12 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 16 Feb 2008 23:12:25 +0000 (23:12 -0000)
svn path=/main/trunk/; revision=9343

pym/_emerge/__init__.py

index 1c8547b7d1b25d609a0a462b08fa2f68c4b94821..ec34daf6230f10741b1034650f1fe313b29d30d3 100644 (file)
@@ -6615,7 +6615,7 @@ def action_depclean(settings, trees, ldpath_mtimes,
                                        if not matches:
                                                continue
                                        for cpv in matches:
-                                               graph.add(node, cpv, priority=priority)
+                                               graph.add(cpv, node, priority=priority)
 
                # Order nodes from lowest to highest overall reference count for
                # optimal root node selection.