diff options
Diffstat (limited to 'scripts/vim2pygments.py')
-rw-r--r-- | scripts/vim2pygments.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/vim2pygments.py b/scripts/vim2pygments.py index 7402b082..57d506da 100644 --- a/scripts/vim2pygments.py +++ b/scripts/vim2pygments.py @@ -858,7 +858,7 @@ def find_colors(code): for token in tokens: color_map[token] = ' '.join(tmp) - default_token = color_map.pop('', '') + default_token = color_map.pop('') return default_token, color_map @@ -867,7 +867,6 @@ class StyleWriter(object): def __init__(self, code, name): self.code = code self.name = name.lower() - self.styles = {} def write_header(self, out): out.write('# -*- coding: utf-8 -*-\n"""\n') |