diff options
-rw-r--r-- | pym/emerge/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 404cfc96f..7c486601d 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -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) |