aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Luther <SebastianLuther@gmx.de>2012-02-24 21:13:52 (GMT)
committerZac Medico <zmedico@gentoo.org>2012-02-24 21:53:21 (GMT)
commit0279590c2351cf4e757e15bbbfc5546205e16533 (patch)
tree44fd16629ecaa4afd3345e95b3c5e12e859a0388
parentUnmerge orphan directory symlinks for bug 384397. (diff)
downloadportage-0279590c2351cf4e757e15bbbfc5546205e16533.zip
portage-0279590c2351cf4e757e15bbbfc5546205e16533.tar.gz
portage-0279590c2351cf4e757e15bbbfc5546205e16533.tar.bz2
autounmask: Fix USE change messages to display the correct parent
Fixes bug 399863.
-rw-r--r--pym/_emerge/depgraph.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index cdc5098..bb3bf4a 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