In depgraph.altlist(), try to merge asap_nodes sooner by giving them an exemption...
authorZac Medico <zmedico@gentoo.org>
Sat, 8 Sep 2007 08:33:02 +0000 (08:33 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 8 Sep 2007 08:33:02 +0000 (08:33 -0000)
svn path=/main/trunk/; revision=7763

pym/emerge/__init__.py

index 963e981412f70432882ec28a6cd15883bcdee4ba..9cd10a1ed18c25e2255ed0664f14e3410fa68d5b 100644 (file)
@@ -2334,7 +2334,8 @@ class depgraph(object):
                                        for ignore_priority in xrange(DepPriority.SOFT,
                                                DepPriority.MEDIUM_SOFT + 1):
                                                for node in nodes:
-                                                       if not accept_root_node and \
+                                                       if nodes is not asap_nodes and \
+                                                               not accept_root_node and \
                                                                not mygraph.parent_nodes(node):
                                                                continue
                                                        selected_nodes = set()