summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 4c9225746..8abe080f9 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -14510,7 +14510,7 @@ def action_build(settings, trees, mtimedb,
if "--buildpkgonly" in myopts:
graph_copy = mydepgraph.digraph.clone()
removed_nodes = set()
- for node in list(graph_copy.order):
+ for node in graph_copy:
if not isinstance(node, Package) or \
node.operation == "nomerge":
removed_nodes.add(node)
@@ -14524,7 +14524,7 @@ def action_build(settings, trees, mtimedb,
if "--buildpkgonly" in myopts:
graph_copy = mydepgraph.digraph.clone()
removed_nodes = set()
- for node in list(graph_copy.order):
+ for node in graph_copy:
if not isinstance(node, Package) or \
node.operation == "nomerge":
removed_nodes.add(node)