summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-11-20 23:32:12 +0000
committerZac Medico <zmedico@gentoo.org>2009-11-20 23:32:12 +0000
commit2d30448e558ff6976c94327ae980787c844c56e0 (patch)
tree24016843ef79b05138f937487b007e4d0392c686
parentBug #293730 - Fix bad || choices triggered in some cases inside (diff)
downloadportage-multirepo-2d30448e558ff6976c94327ae980787c844c56e0.tar.gz
portage-multirepo-2d30448e558ff6976c94327ae980787c844c56e0.tar.bz2
portage-multirepo-2d30448e558ff6976c94327ae980787c844c56e0.zip
Fix depgraph._prune_tree_display() to preserve uninstall tasks. Thanks to
Jonathan Callen <abcd@g.o> for reporting. svn path=/main/trunk/; revision=14855
-rw-r--r--pym/_emerge/depgraph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 73eff9fa..69899180 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 \