From 13ce64ff2f9dff1f5bdf9d2127e76793c41482b4 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sat, 4 Sep 2010 20:10:50 +0200 Subject: Don't set _, which is reserved for portage.localization._(). --- pym/_emerge/show_invalid_depstring_notice.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pym/_emerge') diff --git a/pym/_emerge/show_invalid_depstring_notice.py b/pym/_emerge/show_invalid_depstring_notice.py index 284c4e5f8..02fba03d0 100644 --- a/pym/_emerge/show_invalid_depstring_notice.py +++ b/pym/_emerge/show_invalid_depstring_notice.py @@ -1,4 +1,4 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 import logging @@ -11,7 +11,9 @@ def show_invalid_depstring_notice(parent_node, depstring, error_msg): msg1 = "\n\n!!! Invalid or corrupt dependency specification: " + \ "\n\n%s\n\n%s\n\n" % (error_msg, parent_node) - p_type, _, p_key, p_status = parent_node + p_type = parent_node[0] + p_key = parent_node[2] + p_status = parent_node[3] msg = [] if p_status == "nomerge": category, pf = portage.catsplit(p_key) -- cgit v1.2.3-1-g7c22