took out 2.4 generator...
diff --git a/lib/mako/runtime.py b/lib/mako/runtime.py index d051861..655fe8e 100644 --- a/lib/mako/runtime.py +++ b/lib/mako/runtime.py
@@ -38,7 +38,7 @@ self.module = module self.template = template if callables is not None: - self.callables = dict((c.func_name, c) for c in callables) + self.callables = dict([(c.func_name, c) for c in callables]) else: self.callables = {} @@ -66,4 +66,4 @@ lookup = context.with_template.lookup template = lookup.get_template(uri) template.render_context(context) - \ No newline at end of file +