[Mpuls-commits] r373 - in wasko/trunk: . waskaweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Mar 16 15:39:23 CET 2009


Author: teichmann
Date: 2009-03-16 15:39:21 +0100 (Mon, 16 Mar 2009)
New Revision: 373

Modified:
   wasko/trunk/ChangeLog.txt
   wasko/trunk/waskaweb/model/exprtree.py
Log:
Expression engine: Forgot to call today with context.




Modified: wasko/trunk/ChangeLog.txt
===================================================================
--- wasko/trunk/ChangeLog.txt	2009-03-16 14:11:45 UTC (rev 372)
+++ wasko/trunk/ChangeLog.txt	2009-03-16 14:39:21 UTC (rev 373)
@@ -1,5 +1,9 @@
 2009-03-16	Sascha L. Teichmann	<teichmann at intevation.de>
 
+	* waskaweb/model/exprtree.py: Forgot to call today with context.
+
+2009-03-16	Sascha L. Teichmann	<teichmann at intevation.de>
+
 	* waskaweb/model/data.py: Added ConditionalNode.
 
 	* waskaweb/model/casedocument.py: added eval logic for ConditionalNodes

Modified: wasko/trunk/waskaweb/model/exprtree.py
===================================================================
--- wasko/trunk/waskaweb/model/exprtree.py	2009-03-16 14:11:45 UTC (rev 372)
+++ wasko/trunk/waskaweb/model/exprtree.py	2009-03-16 14:39:21 UTC (rev 373)
@@ -148,7 +148,7 @@
 
 class Today(Node):
 
-    def eval(self):
+    def eval(self, ctx):
         return date.today()
 
 class DateNode(Node):



More information about the Mpuls-commits mailing list