summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/depgraph.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index a4b04f698..549ce7f2e 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -6879,10 +6879,12 @@ def _resume_depgraph(settings, trees, mtimedb, myopts, myparams, spinner):
unsatisfied_parents[parent_node] = parent_node
unsatisfied_stack.append(parent_node)
+ unsatisfied_tuples = set(tuple(pkg)
+ for pkg in unsatisfied_parents)
pruned_mergelist = []
for x in mergelist:
if isinstance(x, list) and \
- tuple(x) not in unsatisfied_parents:
+ tuple(x) not in unsatisfied_tuples:
pruned_mergelist.append(x)
# If the mergelist doesn't shrink then this loop is infinite.