From b87e7e5bd3d4cad1556f178d72a520ce26d120d5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 21 Nov 2009 04:05:40 +0000 Subject: [PATCH] Fix depgraph._prune_tree_display() to preserve uninstall tasks. Thanks to Jonathan Callen for reporting. (trunk r14855) svn path=/main/branches/2.1.7/; revision=14866 --- pym/_emerge/depgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 2cb10650a..53b39f6cb 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 \ -- 2.26.2