Commits

Dmitry Shachnev committed b7ab68d

Removed some unused variables to fix pyflakes warnings

Comments (0)

Files changed (3)

pygments/filters/__init__.py

         Filter.__init__(self, **options)
 
     def filter(self, lexer, stream):
-        output = []
         current_type = None
         current_value = None
         for ttype, value in stream:

pygments/formatters/other.py

                 outfile.write(text.encode())
             flush = outfile.flush
 
-        lasttype = None
-        lastval = u''
         if self.error_color:
             for ttype, value in tokensource:
                 line = "%s\t%r\n" % (ttype, value)

pygments/lexers/_postgres_builtins.py

 
 def parse_datatypes(f):
     dt = set()
-    re_entry = re.compile('\s*<entry><type>([^<]+)</type></entry>')
     for line in f:
         if '<sect1' in line:
             break