aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2013-01-28 14:41:01 -0600
committerChristopher Allan Webber <cwebber@dustycloud.org>2013-01-30 13:22:19 -0600
commit46da25827faa4426b83ebc0ac3c522bcdf2758be (patch)
treecde4cf5b306a2fa445a69250068288e17325507c
parent927be5e8cafbf561ee6ff6a6d74ad566fa3402f0 (diff)
downloadmediagoblin-46da25827faa4426b83ebc0ac3c522bcdf2758be.tar.lz
mediagoblin-46da25827faa4426b83ebc0ac3c522bcdf2758be.tar.xz
mediagoblin-46da25827faa4426b83ebc0ac3c522bcdf2758be.zip
No need for an __init__ at all in the TemplateHookExtension, really.
-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 = []