Kaydet (Commit) 21aa2a5e authored tarafından sanchjat's avatar sanchjat Kaydeden (comit) Mariusz Felisiak

Removed unnecessary line in DebugLexer.tokenize().

üst 705ef6cf
......@@ -760,6 +760,7 @@ answer newbie questions, and generally made Django that much better:
Ryan Niemeyer <https://profiles.google.com/ryan.niemeyer/about>
Ryan Rubin <ryanmrubin@gmail.com>
Ryno Mathee <rmathee@gmail.com>
Sachin Jat <sanch.jat@gmail.com>
Sam Newman <http://www.magpiebrain.com/>
Sander Dijkhuis <sander.dijkhuis@gmail.com>
Sanket Saurav <sanketsaurav@gmail.com>
......
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment