From: Zac Medico Date: Fri, 20 Nov 2009 23:32:12 +0000 (-0000) Subject: Fix depgraph._prune_tree_display() to preserve uninstall tasks. Thanks to X-Git-Tag: v2.2_rc51~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2d30448e558ff6976c94327ae980787c844c56e0;p=portage.git Fix depgraph._prune_tree_display() to preserve uninstall tasks. Thanks to Jonathan Callen for reporting. svn path=/main/trunk/; revision=14855 --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 73eff9fa9..69899180d 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -4738,7 +4738,7 @@ class depgraph(object): del display_list[i] continue if ordered and isinstance(node, Package) \ - and node.operation == 'merge': + and node.operation in ('merge', 'uninstall'): last_merge_depth = depth continue if depth >= last_merge_depth or \