[Mpuls-commits] r1645 - in wasko/branches/2.0: . waskaweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 16 19:45:47 CET 2010


Author: bh
Date: 2010-02-16 19:45:46 +0100 (Tue, 16 Feb 2010)
New Revision: 1645

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/waskaweb/lib/app_globals.py
Log:
* waskaweb/lib/app_globals.py (Globals._init_case): Instantiate
the CaseFactory with the Case class as argument.


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-02-16 17:29:57 UTC (rev 1644)
+++ wasko/branches/2.0/ChangeLog	2010-02-16 18:45:46 UTC (rev 1645)
@@ -1,5 +1,10 @@
 2010-02-16  Bernhard Herzog  <bh at intevation.de>
 
+	* waskaweb/lib/app_globals.py (Globals._init_case): Instantiate
+	the CaseFactory with the Case class as argument.
+
+2010-02-16  Bernhard Herzog  <bh at intevation.de>
+
 	* waskaweb/model/case.py (SessionCase._session_fields): New.
 	SessionCase internal frontend for the get_session_fields method of
 	the case factory

Modified: wasko/branches/2.0/waskaweb/lib/app_globals.py
===================================================================
--- wasko/branches/2.0/waskaweb/lib/app_globals.py	2010-02-16 17:29:57 UTC (rev 1644)
+++ wasko/branches/2.0/waskaweb/lib/app_globals.py	2010-02-16 18:45:46 UTC (rev 1645)
@@ -2,7 +2,7 @@
 
 from mpulsweb.lib.app_globals import Globals as MPulsGlobals
 
-from waskaweb.model.case import CaseFactory
+from waskaweb.model.case import Case, CaseFactory
 
 
 class Globals(MPulsGlobals):
@@ -17,4 +17,4 @@
         self._init_case()
 
     def _init_case(self):
-        self.case_factory = CaseFactory()
+        self.case_factory = CaseFactory(Case)



More information about the Mpuls-commits mailing list