From: Zac Medico Date: Sun, 4 Mar 2007 01:49:54 +0000 (-0000) Subject: Fix the minimum index for pruning consecutive duplicate nodes. (trunk r6163:6164) X-Git-Tag: v2.1.2.1~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=da3e29519fb3c324fa07860618279748c83b9b74;p=portage.git Fix the minimum index for pruning consecutive duplicate nodes. (trunk r6163:6164) svn path=/main/branches/2.1.2/; revision=6165 --- 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