summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index 996924dcd..e6db286ed 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1520,6 +1520,9 @@ class depgraph:
if asap_nodes:
"""ASAP nodes are merged before their soft deps."""
for node in asap_nodes:
+ if not mygraph.contains(node):
+ asap_nodes.remove(node)
+ continue
if not mygraph.child_nodes(node,
ignore_priority=DepPriority.SOFT):
nodes = [node]