diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org> | 2010-09-04 20:10:50 +0200 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org> | 2010-09-04 20:10:50 +0200 |
commit | 13ce64ff2f9dff1f5bdf9d2127e76793c41482b4 (patch) | |
tree | daf4c6eab808e29d95a2c988e211533695b3d62a | |
parent | 718f2f4db85d841d59dbfc365812d0c90d8018cd (diff) | |
download | portage-13ce64ff2f9dff1f5bdf9d2127e76793c41482b4.tar.gz portage-13ce64ff2f9dff1f5bdf9d2127e76793c41482b4.tar.bz2 portage-13ce64ff2f9dff1f5bdf9d2127e76793c41482b4.zip |
Don't set _, which is reserved for portage.localization._().
-rw-r--r-- | pym/_emerge/show_invalid_depstring_notice.py | 6 |
1 files changed, 4 insertions, 2 deletions
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) |