Commit 2b79a35a authored by Preston Timmons's avatar Preston Timmons Committed by Tim Graham
Browse files

[1.8.x] Removed unnecessary __init__ definition from DebugLexer.

Backport of ad9ecc2c from master
parent ad2c6a75
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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