Ticket #16200: return-removed.patch

File return-removed.patch, 585 bytes (added by traff, 4 years ago)
  • django/template/defaulttags.py

     
    846846
    847847    def __init__(self, parser, *args, **kwargs):
    848848        self.template_parser = parser
    849         return super(TemplateIfParser, self).__init__(*args, **kwargs)
     849        super(TemplateIfParser, self).__init__(*args, **kwargs)
    850850
    851851    def create_var(self, value):
    852852        return TemplateLiteral(self.template_parser.compile_filter(value), value)
Back to Top