Removed unnecessary __init__ definition from DebugLexer.

This commit is contained in:
Preston Timmons 2015-02-16 09:36:35 -06:00 committed by Aymeric Augustin
parent 4dd1f4c5eb
commit ad9ecc2c20
1 changed files with 0 additions and 3 deletions

View File

@ -9,9 +9,6 @@ from django.utils.timezone import template_localtime
class DebugLexer(Lexer):
def __init__(self, template_string, origin):
super(DebugLexer, self).__init__(template_string, origin)
def tokenize(self):
"Return a list of tokens from a given template_string"
result, upto = [], 0