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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 16 10:58:55 CET 2010


Author: torsten
Date: 2010-02-16 10:58:55 +0100 (Tue, 16 Feb 2010)
New Revision: 1589

Modified:
   wasko/branches/2.0/waskaweb/model/logbook.py
Log:
* waskaweb/model/logbook.py (Logbook.getEvaluation): Build
LogbookEvaluation instead of Evaluation_18. Fixed import.


Modified: wasko/branches/2.0/waskaweb/model/logbook.py
===================================================================
--- wasko/branches/2.0/waskaweb/model/logbook.py	2010-02-16 09:57:07 UTC (rev 1588)
+++ wasko/branches/2.0/waskaweb/model/logbook.py	2010-02-16 09:58:55 UTC (rev 1589)
@@ -34,7 +34,7 @@
 from pylons import app_globals as g 
 from mpulsweb.lib.db import db
 import mpulsweb.lib.helpers as h
-from waskaweb.lib.evaluation import Evaluation_18
+from waskaweb.lib.evaluation import LogbookEvaluation 
 
 log = logging.getLogger(__name__)
 
@@ -287,8 +287,7 @@
             db.recycleConnection(conn, cur)
 
     def getEvaluation(self):
-        # Build casebundle with on single case
-        eval = Evaluation_18([self.mid])
+        eval = LogbookEvaluation(self.mid)
         return eval.perform()
 
 



More information about the Mpuls-commits mailing list