summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-06-10 19:58:33 -0700
committerZac Medico <zmedico@gentoo.org>2011-06-10 19:58:33 -0700
commitc1ea850b40d48ac1610e203f517b008e6461865f (patch)
treede66c81e98af1ad9a5351186a0a830eae3581c35
parentd2403147d289aa34c27b16762e81c362d643b555 (diff)
downloadportage-c1ea850b40d48ac1610e203f517b008e6461865f.tar.gz
portage-c1ea850b40d48ac1610e203f517b008e6461865f.tar.bz2
portage-c1ea850b40d48ac1610e203f517b008e6461865f.zip
depgraph._serialize_tasks: tweak last commit more
-rw-r--r--pym/_emerge/depgraph.py6
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):