get_dep_chain: fix unsatisfied_dependency logic
authorZac Medico <zmedico@gentoo.org>
Mon, 14 Feb 2011 04:57:57 +0000 (20:57 -0800)
committerZac Medico <zmedico@gentoo.org>
Mon, 14 Feb 2011 05:04:08 +0000 (21:04 -0800)
commit6a4e3f8f2b773c69173a4c9b62f03bb8609a49e5
tree38bf86f72915a17c71f5c848afce711c5d47364f
parentb4fdd78bb0e61c5cca3a55b23fdd2ac3b5141543
get_dep_chain: fix unsatisfied_dependency logic

Always prefer parents for which the parent atom is unsatisfied by the
child node. This seems to be the intention of the code, though it may
not have behaved correctly due to continuation of the parent loop.
pym/_emerge/depgraph.py