From: Zac Medico Date: Thu, 12 Jan 2012 16:32:53 +0000 (-0800) Subject: depgraph: unevaluated parent atom in debug output X-Git-Tag: v2.2.0_alpha85~36 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eb97b85501583129e1f31039a443632633d5d887;p=portage.git depgraph: unevaluated parent atom in debug output --- 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