From: Sebastian Luther Date: Fri, 24 Feb 2012 21:13:52 +0000 (+0100) Subject: autounmask: Fix USE change messages to display the correct parent X-Git-Tag: v2.2.0_alpha90~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0279590c2351cf4e757e15bbbfc5546205e16533;p=portage.git autounmask: Fix USE change messages to display the correct parent Fixes bug 399863. --- 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