From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Pm4TJ-0007gl-Oo for garchives@archives.gentoo.org; Sun, 06 Feb 2011 13:16:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB6C6E0BCB; Sun, 6 Feb 2011 13:10:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B0393E0BCB for ; Sun, 6 Feb 2011 13:10:12 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 692F21B4316 for ; Sun, 6 Feb 2011 13:10:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id D89D880072 for ; Sun, 6 Feb 2011 13:10:11 +0000 (UTC) From: "Thomas Sachau" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Sachau" Message-ID: <4d6d55b00d1e08453397c37f6b986c60175fd30f.tommy@gentoo> Subject: [gentoo-commits] proj/portage:multilib commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/depgraph.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: tommy X-VCS-Committer-Name: Thomas Sachau X-VCS-Revision: 4d6d55b00d1e08453397c37f6b986c60175fd30f Date: Sun, 6 Feb 2011 13:10:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 5978eb9eb2bdcff7c0e10712ae771c3f commit: 4d6d55b00d1e08453397c37f6b986c60175fd30f Author: Zac Medico gentoo org> AuthorDate: Sat Feb 5 03:20:37 2011 +0000 Commit: Thomas Sachau gentoo org> CommitDate: Sat Feb 5 03:20:37 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D4d6d55b0 get_dep_chain: add "set" node type --- pym/_emerge/depgraph.py | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index f131889..6e8ca31 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -2199,7 +2199,11 @@ class depgraph(object): traversed_nodes.add(node) =20 if isinstance(node, DependencyArg): - dep_chain.append((_unicode_decode("%s") % (node,), "argument")) + if self._dynamic_config.digraph.parent_nodes(node): + node_type =3D "set" + else: + node_type =3D "argument" + dep_chain.append((_unicode_decode("%s") % (node,), node_type)) =20 elif node is not start_node: for ppkg, patom in all_parents[child]: @@ -2650,7 +2654,6 @@ class depgraph(object): # It's redundant to show parent for AtomArg since # it's the same as 'xinfo' displayed above. dep_chain =3D self._get_dep_chain(myparent, atom) - for node, node_type in dep_chain: msg.append('(dependency required by "%s" [%s])' % \ (colorize('INFORM', _unicode_decode("%s") % \