Don't set _, which is reserved for portage.localization._().
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Sat, 4 Sep 2010 18:10:50 +0000 (20:10 +0200)
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Sat, 4 Sep 2010 18:10:50 +0000 (20:10 +0200)
pym/_emerge/show_invalid_depstring_notice.py

index 284c4e5f804a58ffcf22d8ffa536ccc5f947637c..02fba03d0a78d1cc0a985f453338a999f703668b 100644 (file)
@@ -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)