Use new-style classes consistently for Python 3 support.

Also add the fixer for this to our list of fixers we check.
This commit is contained in:
Tim Abbott
2015-10-14 16:43:04 -04:00
parent f52ffa7923
commit f6f8f1fe36
11 changed files with 27 additions and 26 deletions

View File

@@ -28,7 +28,7 @@ except ImportError:
pygments = False
# ------------------ The Main CodeHilite Class ----------------------
class CodeHilite:
class CodeHilite(object):
"""
Determine language of source code, and pass it into the pygments hilighter.