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 04:57:57 +0000 (20:57 -0800)
commit080ee08b577177342b42a7bb2ec22555f0d1d259
tree6562306f0fc62006b4f5e562e72a20d979c06803
parent334af57e0511842a3b38db091f2aa33e07615729
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