No need for an __init__ at all in the TemplateHookExtension, really.
This commit is contained in:
parent
927be5e8ca
commit
46da25827f
@ -120,10 +120,7 @@ class TemplateHookExtension(Extension):
|
|||||||
... will include all templates hooked into the comment_extras section.
|
... will include all templates hooked into the comment_extras section.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
tags={"template_hook"}
|
tags = {"template_hook"}
|
||||||
|
|
||||||
def __init__(self, environment):
|
|
||||||
super(TemplateHookExtension, self).__init__(environment)
|
|
||||||
|
|
||||||
def parse(self, parser):
|
def parse(self, parser):
|
||||||
includes = []
|
includes = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user