summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2006-11-19 10:56:37 +0100
committergbrandl <devnull@localhost>2006-11-19 10:56:37 +0100
commit8afeb7d3fe48fef776df9ae5541a62c53888703d (patch)
tree4f7f5e70f98eeebc11c90ef98cb848bd2057a8b9 /scripts
parent45945f71cb7d66d2c4ec0a764a0732498655ad0a (diff)
downloadpygments-8afeb7d3fe48fef776df9ae5541a62c53888703d.tar.gz
[svn] make check.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vim2pygments.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vim2pygments.py b/scripts/vim2pygments.py
index 57d506da..80ca2386 100644
--- a/scripts/vim2pygments.py
+++ b/scripts/vim2pygments.py
@@ -787,7 +787,7 @@ def find_colors(code):
colors = {'Normal': {}}
bg_color = None
def set(attrib, value):
- if not token in colors:
+ if token not in colors:
colors[token] = {}
if key.startswith('gui') or attrib not in colors[token]:
colors[token][attrib] = value