Make sure that excess "nomerge" nodes are pruned correctly.
authorZac Medico <zmedico@gentoo.org>
Sat, 3 Mar 2007 11:24:11 +0000 (11:24 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 3 Mar 2007 11:24:11 +0000 (11:24 -0000)
svn path=/main/trunk/; revision=6148

pym/emerge/__init__.py

index 7c486601d753c01d8ed7577de15c971c4e52319e..e6b5428356e65e172ec819b1c9ebf5ee0195279c 100644 (file)
@@ -2392,7 +2392,7 @@ class depgraph:
                                continue
                        if "blocks" == graph_key[0]:
                                continue
-                       if graph_key[-1] != "nomerge":
+                       if ordered and graph_key[-1] != "nomerge":
                                last_merge_depth = depth
                                continue
                        if depth >= last_merge_depth or \