From fbd409fc30ca7fe4836cb0426daedc18d7155fc0 Mon Sep 17 00:00:00 2001 From: scarabeus Date: Thu, 18 Nov 2010 20:10:53 +0000 Subject: [PATCH 1/1] Remove unused variable. svn path=/trunk/gentoolkit/; revision=856 --- pym/gentoolkit/eshowkw/keywords_content.py | 3 +-- 1 file changed, 1 insertion(+), 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 -- 2.26.2