Fix depgraph._prune_tree_display() to preserve uninstall tasks. Thanks to
authorZac Medico <zmedico@gentoo.org>
Fri, 20 Nov 2009 23:32:12 +0000 (23:32 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 20 Nov 2009 23:32:12 +0000 (23:32 -0000)
Jonathan Callen <abcd@g.o> for reporting.

svn path=/main/trunk/; revision=14855

pym/_emerge/depgraph.py

index 73eff9fa935b9195d7777121b63990f6d8ef64cd..69899180d4f4fee8d80474f6e555d1985147ed39 100644 (file)
@@ -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 \