Fix the minimum index for pruning consecutive duplicate nodes. (trunk r6163:6164)
authorZac Medico <zmedico@gentoo.org>
Sun, 4 Mar 2007 01:49:54 +0000 (01:49 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 4 Mar 2007 01:49:54 +0000 (01:49 -0000)
svn path=/main/branches/2.1.2/; revision=6165

bin/emerge

index 50138373c640f68084c49e28c70112bd39680dc8..2f5e68aef84f57a0d5b0138c4beabf25e8a11c9f 100755 (executable)
@@ -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