[Checkins] SVN: z3c.pt/trunk/src/z3c/pt/pagetemplate.py Fixed an issue with errors occuring in dynamic path evaluation.
Malthe Borch
mborch at gmail.com
Wed May 11 04:37:06 EDT 2011
Log message for revision 121651:
Fixed an issue with errors occuring in dynamic path evaluation.
Changed:
U z3c.pt/trunk/src/z3c/pt/pagetemplate.py
-=-
Modified: z3c.pt/trunk/src/z3c/pt/pagetemplate.py
===================================================================
--- z3c.pt/trunk/src/z3c/pt/pagetemplate.py 2011-05-10 15:50:29 UTC (rev 121650)
+++ z3c.pt/trunk/src/z3c/pt/pagetemplate.py 2011-05-11 08:37:06 UTC (rev 121651)
@@ -150,7 +150,8 @@
if frame is None:
raise RuntimeError("Can't locate template frame.")
- function([], econtext, None)
+ rcontext = l.get('rcontext')
+ function([], econtext, rcontext)
return econtext['_expr_result']
def evaluate_path(self, expr):
More information about the checkins
mailing list