aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscarabeus <scarabeus@gentoo.org>2010-11-18 20:10:53 +0000
committerscarabeus <scarabeus@gentoo.org>2010-11-18 20:10:53 +0000
commitfbd409fc30ca7fe4836cb0426daedc18d7155fc0 (patch)
tree6e123d5bf24c52deceeef081987e76d7bfc354ca
parentUse join() rather than string printing. (diff)
downloadgentoolkit-fbd409fc30ca7fe4836cb0426daedc18d7155fc0.tar.gz
gentoolkit-fbd409fc30ca7fe4836cb0426daedc18d7155fc0.tar.bz2
gentoolkit-fbd409fc30ca7fe4836cb0426daedc18d7155fc0.zip
Remove unused variable.
svn path=/trunk/gentoolkit/; revision=856
-rw-r--r--pym/gentoolkit/eshowkw/keywords_content.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/gentoolkit/eshowkw/keywords_content.py b/pym/gentoolkit/eshowkw/keywords_content.py
index 7f82026..530e3f6 100644
--- a/pym/gentoolkit/eshowkw/keywords_content.py
+++ b/pym/gentoolkit/eshowkw/keywords_content.py
@@ -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