Fixed -- Removed unneeded str.find() call in Lexer.create_token().
Unnecessary since
@@ -387,8 +387,6 @@ class Lexer:
self.verbatim = 'end%s' % block_content
return Token(TokenType.BLOCK, block_content, position, lineno)
elif token_start == COMMENT_TAG_START:
- content = ''
- if token_string.find(TRANSLATOR_COMMENT_MARK):
content = token_string[2:-2].strip()
return Token(TokenType.COMMENT, content, position, lineno)
else:
