No need for an __init__ at all in the TemplateHookExtension, really.
This commit is contained in:
parent
927be5e8ca
commit
46da25827f
@ -122,9 +122,6 @@ class TemplateHookExtension(Extension):
|
||||
|
||||
tags = {"template_hook"}
|
||||
|
||||
def __init__(self, environment):
|
||||
super(TemplateHookExtension, self).__init__(environment)
|
||||
|
||||
def parse(self, parser):
|
||||
includes = []
|
||||
expr = parser.parse_expression()
|
||||
|
Loading…
x
Reference in New Issue
Block a user