pep8: Fix E225 pep8 violations.

This commit is contained in:
Rafid Aslam
2016-11-29 05:29:01 +07:00
committed by Tim Abbott
parent f036a59b4f
commit 7a2282986a
24 changed files with 55 additions and 55 deletions

View File

@@ -238,7 +238,7 @@ def is_django_block_tag(tag):
def get_handlebars_tag(text, i):
# type: (str, int) -> str
end = i + 2
while end < len(text) -1 and text[end] != '}':
while end < len(text) - 1 and text[end] != '}':
end += 1
if text[end] != '}' or text[end+1] != '}':
raise TemplateParserException('Tag missing }}')
@@ -248,7 +248,7 @@ def get_handlebars_tag(text, i):
def get_django_tag(text, i):
# type: (str, int) -> str
end = i + 2
while end < len(text) -1 and text[end] != '%':
while end < len(text) - 1 and text[end] != '%':
end += 1
if text[end] != '%' or text[end+1] != '}':
raise TemplateParserException('Tag missing %}')