[Checkins] SVN: z3c.pt/trunk/src/z3c/pt/generation.py These symbols should be available to macros as well; they're not (and shouldn't be) carried over from the calling template.
Malthe Borch
mborch at gmail.com
Sun Aug 24 07:12:53 EDT 2008
Log message for revision 90167:
These symbols should be available to macros as well; they're not (and shouldn't be) carried over from the calling template.
Changed:
U z3c.pt/trunk/src/z3c/pt/generation.py
-=-
Modified: z3c.pt/trunk/src/z3c/pt/generation.py
===================================================================
--- z3c.pt/trunk/src/z3c/pt/generation.py 2008-08-24 10:21:11 UTC (rev 90166)
+++ z3c.pt/trunk/src/z3c/pt/generation.py 2008-08-24 11:12:53 UTC (rev 90167)
@@ -22,6 +22,11 @@
macro_wrapper = """\
def render(%(init)s, %(kwargs)s%(extra)s):
+\t%(attributes)s, %(repeat)s = %(init)s.initialize_tal()
+\t%(marker)s = %(init)s.initialize_helpers()
+\t%(path)s = %(init)s.initialize_traversal()
+\t%(translate)s = %(init)s.fast_translate
+\t%(elementtree)s = %(init)s.initialize_elementtree()
%(body)s
"""
More information about the Checkins
mailing list