Prevent an IndexError caused by blocker nodes splitting to 3 items instead of 4.
authorZac Medico <zmedico@gentoo.org>
Thu, 21 Sep 2006 05:17:54 +0000 (05:17 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 21 Sep 2006 05:17:54 +0000 (05:17 -0000)
svn path=/main/trunk/; revision=4491

bin/emerge

index b68665d42bcdd81454395204ee2b85b43ed1d734..118de5aec5ababcde1dcfedf3f979a6339f5275c 100755 (executable)
@@ -3544,7 +3544,7 @@ def action_build(settings, trees, mtimedb,
                                mydepgraph.altlist(reversed=("--tree" in myopts)))
                        mergecount=0
                        for x in mydepgraph.altlist():
-                               if x[3]!="nomerge":
+                               if x[0] != "blocks" and x[3] != "nomerge":
                                        mergecount+=1
                                #check for blocking dependencies
                                if x[0]=="blocks" and "--fetchonly" not in myopts and "--fetch-all-uri" not in myopts: