summaryrefslogtreecommitdiff
path: root/django/template/base.py
diff options
context:
space:
mode:
authorsanchjat <sanch.jat@gmail.com>2019-05-07 17:04:05 +0530
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-05-07 13:34:05 +0200
commit21aa2a5e785eef1f47beb1c3760fdd7d8915ae09 (patch)
treecbaf76226fd9f842b01da4d2cd52d99d2d256be2 /django/template/base.py
parent705ef6cfebe000df1971e25ee269c2e26bac18f4 (diff)
Removed unnecessary line in DebugLexer.tokenize().
Diffstat (limited to 'django/template/base.py')
-rw-r--r--django/template/base.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/template/base.py b/django/template/base.py
index 9f4fe3363d..efffa11f8f 100644
--- a/django/template/base.py
+++ b/django/template/base.py
@@ -395,7 +395,6 @@ class DebugLexer(Lexer):
token_string = self.template_string[upto:start]
result.append(self.create_token(token_string, (upto, start), lineno, in_tag=False))
lineno += token_string.count('\n')
- upto = start
token_string = self.template_string[start:end]
result.append(self.create_token(token_string, (start, end), lineno, in_tag=True))
lineno += token_string.count('\n')