depgraph._serialize_tasks: revert formatting diff
authorZac Medico <zmedico@gentoo.org>
Sat, 11 Jun 2011 05:21:19 +0000 (22:21 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 11 Jun 2011 05:21:19 +0000 (22:21 -0700)
pym/_emerge/depgraph.py

index ca86904e6cc8b4e74f7c2e6c73fa247278771c4a..5ad19e885004fd63ecf80911136d923be1228b7b 100644 (file)
@@ -5041,12 +5041,11 @@ class depgraph(object):
                                                if selected_nodes:
                                                        break
 
-                                       if prefer_asap and asap_nodes:
-                                               if not selected_nodes:
-                                                       # We failed to find any asap nodes to merge,
-                                                       # so ignore them for the next iteration.
-                                                       prefer_asap = False
-                                                       continue
+                                       if prefer_asap and asap_nodes and not selected_nodes:
+                                               # We failed to find any asap nodes to merge, so ignore
+                                               # them for the next iteration.
+                                               prefer_asap = False
+                                               continue
 
                        if selected_nodes and ignore_priority is not None:
                                # Try to merge ignored medium_soft deps as soon as possible