s/node/selected_parent/ for clarity
authorZac Medico <zmedico@gentoo.org>
Sat, 3 Mar 2007 08:54:08 +0000 (08:54 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 3 Mar 2007 08:54:08 +0000 (08:54 -0000)
svn path=/main/trunk/; revision=6141

pym/emerge/__init__.py

index 404cfc96f607594e51f7b56fba4030e8ab270f8a..7c486601d753c01d8ed7577de15c971c4e52319e 100644 (file)
@@ -2370,8 +2370,8 @@ class depgraph:
                                                                                selected_parent = node
                                                                                break
                                                        if selected_parent:
-                                                               traversed_nodes.add(node)
-                                                               add_parents(node, False)
+                                                               traversed_nodes.add(selected_parent)
+                                                               add_parents(selected_parent, False)
                                                display_list.append((list(current_node),
                                                        len(tree_nodes), ordered))
                                                tree_nodes.append(current_node)