[Zope-Checkins] CVS: Zope/lib/python/DocumentTemplate -
DT_Return.py:1.9
Yvo Schubbe
y.2004_ at wcm-solutions.de
Thu Feb 19 03:54:30 EST 2004
Update of /cvs-repository/Zope/lib/python/DocumentTemplate
In directory cvs.zope.org:/tmp/cvs-serv5195/lib/python/DocumentTemplate
Modified Files:
DT_Return.py
Log Message:
the last change broke render()
=== Zope/lib/python/DocumentTemplate/DT_Return.py 1.8 => 1.9 ===
--- Zope/lib/python/DocumentTemplate/DT_Return.py:1.8 Fri Dec 26 18:43:11 2003
+++ Zope/lib/python/DocumentTemplate/DT_Return.py Thu Feb 19 03:54:29 2004
@@ -25,7 +25,7 @@
self.expr = expr
def render(self, md):
- if val is None:
+ if self.expr is None:
val = md[self.__name__]
else:
val = self.expr.eval(md)
More information about the Zope-Checkins
mailing list