summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 7aaefbf2b..c315af65d 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -8381,7 +8381,8 @@ def action_build(settings, trees, mtimedb,
tuple(task) in unsatisfied_parents:
continue
pruned_mergelist.append(task)
- if not pruned_mergelist:
+ if not pruned_mergelist or \
+ len(pruned_mergelist) == len(mergelist):
raise
mergelist[:] = pruned_mergelist
dropped_tasks.update(unsatisfied_parents)