mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
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:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user