diff options
author | gbrandl <devnull@localhost> | 2006-11-19 10:56:37 +0100 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2006-11-19 10:56:37 +0100 |
commit | 8afeb7d3fe48fef776df9ae5541a62c53888703d (patch) | |
tree | 4f7f5e70f98eeebc11c90ef98cb848bd2057a8b9 /scripts | |
parent | 45945f71cb7d66d2c4ec0a764a0732498655ad0a (diff) | |
download | pygments-8afeb7d3fe48fef776df9ae5541a62c53888703d.tar.gz |
[svn] make check.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/vim2pygments.py | 2 |
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 |