From cd9b32f1e63e2c13b1f0da4cbd6c5c0c2787bb93 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 28 Aug 2010 17:10:46 -0700 Subject: [PATCH] Inside Scheduler._dependent_on_scheduled_merges(), don't traverse children of uninstall nodes since those aren't dependencies in the usual sense. --- pym/_emerge/Scheduler.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py index 6979551a3..be4ef48af 100644 --- a/pym/_emerge/Scheduler.py +++ b/pym/_emerge/Scheduler.py @@ -1448,7 +1448,11 @@ class Scheduler(PollScheduler): node in later): dependent = True break - node_stack.extend(graph.child_nodes(node)) + + # Don't traverse children of uninstall nodes since + # those aren't dependencies in the usual sense. + if node.operation != "uninstall": + node_stack.extend(graph.child_nodes(node)) return dependent -- 2.26.2