From d8555464ba3dede7433a95d2c2e83c617216bbb1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 4 Mar 2007 01:49:32 +0000 Subject: Fix the minimum index for pruning consecutive duplicate nodes. svn path=/main/trunk/; revision=6164 --- pym/emerge/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-1-g7c22