Remove unused variable.
authorscarabeus <scarabeus@gentoo.org>
Thu, 18 Nov 2010 20:10:53 +0000 (20:10 -0000)
committerscarabeus <scarabeus@gentoo.org>
Thu, 18 Nov 2010 20:10:53 +0000 (20:10 -0000)
svn path=/trunk/gentoolkit/; revision=856

pym/gentoolkit/eshowkw/keywords_content.py

index 7f820268b074f854fe6cc22d5920e1afe777f8ca..530e3f6983e8e651e9814e354198599b4c4c418e 100644 (file)
@@ -195,7 +195,6 @@ class keywords_content:
                # -* -> red *
                """
                keys = [ '~%s' % arch, '-%s' % arch, '%s' % arch, '-*' ]
-               nocolor_values = [ '~', '-', '+', '*' ]
                values = [
                        colorize('darkyellow', '~'),
                        colorize('darkred', '-'),
@@ -205,7 +204,7 @@ class keywords_content:
                # check what keyword we have
                # here we cant just append space because it would get stripped later
                char = colorize('darkgray','o')
-               for k, v, n in zip(keys, values, nocolor_values):
+               for k, v in zip(keys, values):
                        if k in keywords:
                                char = v
                                break