No need for an __init__ at all in the TemplateHookExtension, really.

This commit is contained in:
Christopher Allan Webber 2013-01-28 14:41:01 -06:00
parent 927be5e8ca
commit 46da25827f

View File

@ -120,10 +120,7 @@ class TemplateHookExtension(Extension):
... will include all templates hooked into the comment_extras section.
"""
tags={"template_hook"}
def __init__(self, environment):
super(TemplateHookExtension, self).__init__(environment)
tags = {"template_hook"}
def parse(self, parser):
includes = []