diff options
author | Sebastian Luther <SebastianLuther@gmx.de> | 2012-02-24 22:13:52 +0100 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-02-24 13:53:21 -0800 |
commit | 0279590c2351cf4e757e15bbbfc5546205e16533 (patch) | |
tree | 44fd16629ecaa4afd3345e95b3c5e12e859a0388 | |
parent | 411a8461d08b88c5636e900d6297c2b4873af549 (diff) | |
download | portage-0279590c2351cf4e757e15bbbfc5546205e16533.tar.gz portage-0279590c2351cf4e757e15bbbfc5546205e16533.tar.bz2 portage-0279590c2351cf4e757e15bbbfc5546205e16533.zip |
autounmask: Fix USE change messages to display the correct parent
Fixes bug 399863.
-rw-r--r-- | pym/_emerge/depgraph.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index cdc50983b..bb3bf4adf 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -2814,6 +2814,10 @@ class depgraph(object): elif node is not start_node: for ppkg, patom in all_parents[child]: if ppkg == node: + if child is start_node and unsatisfied_dependency and \ + InternalPackageSet(initial_atoms=(patom,)).findAtomForPackage(child): + # This atom is satisfied by child, there must be another atom. + continue atom = patom.unevaluated_atom break |