diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-03-04 01:49:54 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-03-04 01:49:54 +0000 |
commit | da3e29519fb3c324fa07860618279748c83b9b74 (patch) | |
tree | 7578db7bbfe97fe2b4cdc3b69896513bc2f388cb /bin/emerge | |
parent | af8078aa9a5b168ebf40089142b441d8a7f31e34 (diff) | |
download | portage-da3e29519fb3c324fa07860618279748c83b9b74.tar.gz portage-da3e29519fb3c324fa07860618279748c83b9b74.tar.bz2 portage-da3e29519fb3c324fa07860618279748c83b9b74.zip |
Fix the minimum index for pruning consecutive duplicate nodes. (trunk r6163:6164)
svn path=/main/branches/2.1.2/; revision=6165
Diffstat (limited to 'bin/emerge')
-rwxr-xr-x | bin/emerge | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge index 50138373c..2f5e68aef 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2381,7 +2381,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 |