diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-03-04 01:49:32 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-03-04 01:49:32 +0000 |
commit | d8555464ba3dede7433a95d2c2e83c617216bbb1 (patch) | |
tree | d37f44bd0da2c10dbc1ad6a44fd0a533bc580143 | |
parent | a56e63cdc84895cac0342439799b1b2199d101ee (diff) | |
download | portage-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__.py | 2 |
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 |