diff options
Diffstat (limited to 'scripts/vim2pygments.py')
| -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 |
