Skip to content

Commit

Permalink
Fixed #16200 -- Stopped TemplateIfParser from returning something in …
Browse files Browse the repository at this point in the history
…`__init__`. Thanks, traff.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
jezdez committed Jun 16, 2011
1 parent 662b372 commit a1991e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/template/defaulttags.py
Expand Up @@ -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)
Expand Down

0 comments on commit a1991e3

Please sign in to comment.