From: Arfrever Frehtes Taifersar Arahesis Date: Sat, 4 Sep 2010 18:10:50 +0000 (+0200) Subject: Don't set _, which is reserved for portage.localization._(). X-Git-Tag: v2.2_rc76~58^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=13ce64ff2f9dff1f5bdf9d2127e76793c41482b4;p=portage.git Don't set _, which is reserved for portage.localization._(). --- 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)