Skip to content
Browse files

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
  • Loading branch information...
1 parent 662b372 commit a1991e37f4757ea1f4a195296dbd586e4a5c90ee @jezdez jezdez committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/template/defaulttags.py
View
2 django/template/defaulttags.py
@@ -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)

0 comments on commit a1991e3

Please sign in to comment.
Something went wrong with that request. Please try again.