From: Zac Medico Date: Sun, 29 Aug 2010 00:10:46 +0000 (-0700) Subject: Inside Scheduler._dependent_on_scheduled_merges(), don't traverse children X-Git-Tag: v2.2_rc72~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cd9b32f1e63e2c13b1f0da4cbd6c5c0c2787bb93;p=portage.git Inside Scheduler._dependent_on_scheduled_merges(), don't traverse children of uninstall nodes since those aren't dependencies in the usual sense. --- 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