Fix Scheduler._dependent_on_scheduled_merges() to properly distinguish
authorZac Medico <zmedico@gentoo.org>
Tue, 8 Jul 2008 22:19:21 +0000 (22:19 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 8 Jul 2008 22:19:21 +0000 (22:19 -0000)
"nomerge" nodes from "uninstall" nodes.

svn path=/main/trunk/; revision=10991

pym/_emerge/__init__.py

index 4f43b0fd29f92cc05af9fbda91dd25037f2de87f..e9ad9f2c1bc9fbb364b16d7679bc2467254e5b11 100644 (file)
@@ -8138,7 +8138,7 @@ class Scheduler(object):
                        if node in traversed_nodes:
                                continue
                        traversed_nodes.add(node)
-                       if not node.installed and \
+                       if not (node.installed and node.operation == "nomerge") and \
                                node not in completed_tasks:
                                dependent = True
                                break