Revert r12348 since it's not really needed and the previous version is more v2.2_rc20
authorZac Medico <zmedico@gentoo.org>
Sat, 27 Dec 2008 00:36:42 +0000 (00:36 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 27 Dec 2008 00:36:42 +0000 (00:36 -0000)
efficient.

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

pym/_emerge/__init__.py

index 880d9cbcccf57255e0aed01a3c4c5983602a7899..c03e608250a8b77870944f8162c9ec0f924d1b08 100644 (file)
@@ -6838,7 +6838,7 @@ class depgraph(object):
                                        selected_nodes = list(selected_nodes)
                                selected_nodes.sort(cmp_circular_bias)
 
-                       if not selected_nodes and myblocker_uninstalls.leaf_nodes():
+                       if not selected_nodes and not myblocker_uninstalls.is_empty():
                                # An Uninstall task needs to be executed in order to
                                # avoid conflict if possible.
                                min_parent_deps = None