From 2ccfc8f288ec252681ca4709579eab305f19f012 Mon Sep 17 00:00:00 2001 From: blackbird Date: Tue, 14 Nov 2006 18:52:18 +0100 Subject: [svn] added missing lexers to pygments docs, svn ignored "*.pyc" --- scripts/vim2pygments.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/vim2pygments.py') 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') -- cgit v1.2.1