diff options
-rw-r--r-- | pym/_emerge/depgraph.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 13152a7ee..baa40c425 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -5033,10 +5033,10 @@ class depgraph(object): continue # Make sure that we haven't selected a large runtime # cycle that is obviously sub-optimal. This will be - # obvious if any of selected_nodes is a leaf node - # when medium_soft deps are ignored. + # obvious if any of the non-asap selected_nodes is + # a leaf node when medium_soft deps are ignored. if len(selected_nodes) > 1: - for node in selected_nodes: + for node in selected_nodes.difference(asap_nodes): if not mygraph.child_nodes(node, ignore_priority = DepPriorityNormalRange.ignore_medium_soft): |