summaryrefslogtreecommitdiff
path: root/pygments/formatters/other.py
diff options
context:
space:
mode:
authorAndy Li <andy@onthewings.net>2013-02-19 02:30:44 +0800
committerAndy Li <andy@onthewings.net>2013-02-19 02:30:44 +0800
commit565a8ec40162f20a004b826ad339c655f696b45e (patch)
treea4ba4fe5b8874e3305941613034e6f6548bdb6a9 /pygments/formatters/other.py
parent25273ed077997a0ed8ca8bcf34be7b94e248c5cb (diff)
parent054c464c70c115f476608a51bb0b4a931d1fa400 (diff)
downloadpygments-565a8ec40162f20a004b826ad339c655f696b45e.tar.gz
Merge upstream changes.
Diffstat (limited to 'pygments/formatters/other.py')
-rw-r--r--pygments/formatters/other.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pygments/formatters/other.py b/pygments/formatters/other.py
index a19e4ce0..1029a7a7 100644
--- a/pygments/formatters/other.py
+++ b/pygments/formatters/other.py
@@ -5,7 +5,7 @@
Other formatters: NullFormatter, RawTokenFormatter.
- :copyright: Copyright 2006-2012 by the Pygments team, see AUTHORS.
+ :copyright: Copyright 2006-2013 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
@@ -102,8 +102,6 @@ class RawTokenFormatter(Formatter):
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)