Switching set syntax to python2.6 compatible
authorChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 31 Jan 2013 18:33:50 +0000 (12:33 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 31 Jan 2013 18:33:50 +0000 (12:33 -0600)
mediagoblin/tools/template.py

index 5bd20505754fbe4fdb1e846d11fabb8f617a0011..a58dd2ca9ec0a96ff8e4cb61798df56ea93ba9f1 100644 (file)
@@ -120,7 +120,7 @@ class TemplateHookExtension(Extension):
     ... will include all templates hooked into the comment_extras section.
     """
 
-    tags = {"template_hook"}
+    tags = set(["template_hook"])
 
     def parse(self, parser):
         includes = []