From: Zac Medico Date: Sat, 11 Jun 2011 02:58:33 +0000 (-0700) Subject: depgraph._serialize_tasks: tweak last commit more X-Git-Tag: v2.2.0_alpha40~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c1ea850b40d48ac1610e203f517b008e6461865f;p=portage.git depgraph._serialize_tasks: tweak last commit more --- 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):