summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-11 05:14:58 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-11 05:14:58 +0000
commita39b66a3616a7831d9093d46c0d9e5d65fbc1c4f (patch)
tree82e8a4a316bc1f42a2cda6c60350847dcbd1320f /pym/_emerge
parent5dd68f7672ad1f7d781de396b5f730d968f49539 (diff)
downloadportage-a39b66a3616a7831d9093d46c0d9e5d65fbc1c4f.tar.gz
portage-a39b66a3616a7831d9093d46c0d9e5d65fbc1c4f.tar.bz2
portage-a39b66a3616a7831d9093d46c0d9e5d65fbc1c4f.zip
Fix merge order calculation so that the circular runtime path isn't entered
when it's possible to select a node that only has unsatisfied PDEPEND. This reverts an unintended change from the patch for bug #250020, and solves a problem with libperl being merged after perl when building stage 1. (trunk r12613) svn path=/main/branches/2.1.6/; revision=12891
Diffstat (limited to 'pym/_emerge')
-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 dcbdfee4a..b1e38a918 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -7012,7 +7012,8 @@ class depgraph(object):
break
if not selected_nodes and \
not (prefer_asap and asap_nodes):
- for i in xrange(priority_range.NONE, priority_range.SOFT + 1):
+ for i in xrange(priority_range.NONE,
+ priority_range.MEDIUM_SOFT + 1):
ignore_priority = priority_range.ignore_priority[i]
nodes = get_nodes(ignore_priority=ignore_priority)
if nodes: