From eb97b85501583129e1f31039a443632633d5d887 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 12 Jan 2012 08:32:53 -0800 Subject: [PATCH] depgraph: unevaluated parent atom in debug output --- pym/_emerge/depgraph.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 81b174379..19daa4eb8 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -1058,9 +1058,12 @@ class depgraph(object): else: # Display the specific atom from SetArg or # Package types. + uneval = "" + if dep.atom is not dep.atom.unevaluated_atom: + uneval = " (%s)" % (dep.atom.unevaluated_atom,) writemsg_level( - "%s%s required by %s\n" % - ("Parent Dep:".ljust(15), dep.atom, myparent), + "%s%s%s required by %s\n" % + ("Parent Dep:".ljust(15), dep.atom, uneval, myparent), level=logging.DEBUG, noiselevel=-1) # Ensure that the dependencies of the same package -- 2.26.2