Skip to content

Commit

Permalink
Removed unnecessary line in DebugLexer.tokenize().
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchjat authored and felixxm committed May 7, 2019
1 parent 705ef6c commit 21aa2a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
Ryno Mathee <[email protected]>
Sachin Jat <[email protected]>
Sam Newman <http://www.magpiebrain.com/>
Sander Dijkhuis <[email protected]>
Sanket Saurav <[email protected]>
Expand Down
1 change: 0 additions & 1 deletion django/template/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,6 @@ def tokenize(self):
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')
Expand Down

0 comments on commit 21aa2a5

Please sign in to comment.