summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-03-04 01:49:32 +0000
committerZac Medico <zmedico@gentoo.org>2007-03-04 01:49:32 +0000
commitd8555464ba3dede7433a95d2c2e83c617216bbb1 (patch)
treed37f44bd0da2c10dbc1ad6a44fd0a533bc580143
parenta56e63cdc84895cac0342439799b1b2199d101ee (diff)
downloadportage-d8555464ba3dede7433a95d2c2e83c617216bbb1.tar.gz
portage-d8555464ba3dede7433a95d2c2e83c617216bbb1.tar.bz2
portage-d8555464ba3dede7433a95d2c2e83c617216bbb1.zip
Fix the minimum index for pruning consecutive duplicate nodes.
svn path=/main/trunk/; revision=6164
-rw-r--r--pym/emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index a291e73dc..0721915b6 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -2384,7 +2384,7 @@ class depgraph:
last_merge_depth = 0
for i in xrange(len(mylist)-1,-1,-1):
graph_key, depth, ordered = mylist[i]
- if not ordered and depth == 0 and i > 1 \
+ if not ordered and depth == 0 and i > 0 \
and graph_key == mylist[i-1][0] and \
mylist[i-1][1] == 0:
# An ordered node got a consecutive duplicate when the tree was