[Mpuls-commits] r1555 - wasko/branches/2.0/waskaweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Feb 15 15:05:34 CET 2010


Author: torsten
Date: 2010-02-15 15:05:33 +0100 (Mon, 15 Feb 2010)
New Revision: 1555

Modified:
   wasko/branches/2.0/waskaweb/model/logbook.py
Log:
* waskaweb/model/logbook.py (Logbook.getEvaluation): Simplify the init
of the Evaluation. No need to build a casebundle.


Modified: wasko/branches/2.0/waskaweb/model/logbook.py
===================================================================
--- wasko/branches/2.0/waskaweb/model/logbook.py	2010-02-15 13:54:05 UTC (rev 1554)
+++ wasko/branches/2.0/waskaweb/model/logbook.py	2010-02-15 14:05:33 UTC (rev 1555)
@@ -331,8 +331,7 @@
     def getEvaluation(self):
         # Build casebundle with on single case
         from waskaweb.lib.evaluation import Evaluation_18
-        cb = CaseBundle([self.mid])
-        eval = Evaluation_18(range_compress(cb.listDatasetIds()))
+        eval = Evaluation_18([self.mid])
         return eval.perform()
 
 



More information about the Mpuls-commits mailing list