diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-06-10 22:21:19 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-06-10 22:21:19 -0700 |
commit | 9390abed8b1a7dfa47c1ee0e25d83202afccda83 (patch) | |
tree | 3cb8313dc6e041733cb3ee93ffa47b044cf3604b | |
parent | 075ce106b3ae1e55cc810b4c946deea83bcb4a8e (diff) | |
download | portage-9390abed8b1a7dfa47c1ee0e25d83202afccda83.tar.gz portage-9390abed8b1a7dfa47c1ee0e25d83202afccda83.tar.bz2 portage-9390abed8b1a7dfa47c1ee0e25d83202afccda83.zip |
depgraph._serialize_tasks: revert formatting diff
-rw-r--r-- | pym/_emerge/depgraph.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index ca86904e6..5ad19e885 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -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 |