aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mediagoblin/tools/template.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/mediagoblin/tools/template.py b/mediagoblin/tools/template.py
index f83c8228..5bd20505 100644
--- a/mediagoblin/tools/template.py
+++ b/mediagoblin/tools/template.py
@@ -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 = []