summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston Timmons <prestontimmons@gmail.com>2015-02-16 09:36:35 -0600
committerTim Graham <timograham@gmail.com>2015-02-16 18:06:53 -0500
commit2b79a35a830cf5326b1c764963b7e8431864ec97 (patch)
treeca6770981e9b3c89b46f527bab7f0fc1f28ad2a1
parentad2c6a756b8c47834bcebf91552475050f9cefc4 (diff)
[1.8.x] Removed unnecessary __init__ definition from DebugLexer.
Backport of ad9ecc2c209df3a48fc607f886d57f77ef972546 from master
-rw-r--r--django/template/debug.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/django/template/debug.py b/django/template/debug.py
index 7f2cbc585a..75efdf9824 100644
--- a/django/template/debug.py
+++ b/django/template/debug.py
@@ -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