Fixed #16200 -- Stopped TemplateIfParser from returning something in `__init__`. Thanks, traff.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel 2011-06-16 16:33:47 +00:00
parent 662b372d02
commit a1991e37f4
1 changed files with 1 additions and 1 deletions

View File

@ -846,7 +846,7 @@ class TemplateIfParser(IfParser):
def __init__(self, parser, *args, **kwargs):
self.template_parser = parser
return super(TemplateIfParser, self).__init__(*args, **kwargs)
super(TemplateIfParser, self).__init__(*args, **kwargs)
def create_var(self, value):
return TemplateLiteral(self.template_parser.compile_filter(value), value)