[Mpuls-commits] r3463 - in waska/trunk: . waskaweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Aug 27 12:31:44 CEST 2010


Author: bh
Date: 2010-08-27 12:31:42 +0200 (Fri, 27 Aug 2010)
New Revision: 3463

Removed:
   waska/trunk/waskaweb/lib/app_globals.py
Modified:
   waska/trunk/ChangeLog
Log:
* waskaweb/lib/app_globals.py: Removed.  The base version includes
all of the required functionality now.


Modified: waska/trunk/ChangeLog
===================================================================
--- waska/trunk/ChangeLog	2010-08-27 10:17:41 UTC (rev 3462)
+++ waska/trunk/ChangeLog	2010-08-27 10:31:42 UTC (rev 3463)
@@ -1,3 +1,8 @@
+2010-08-27  Bernhard Herzog  <bh at intevation.de>
+
+	* waskaweb/lib/app_globals.py: Removed.  The base version includes
+	all of the required functionality now.
+
 2010-08-26  Roland Geider <roland.geider at intevation.de>
 
 	* waska.json: Issue104: changed options of logbook

Deleted: waska/trunk/waskaweb/lib/app_globals.py
===================================================================
--- waska/trunk/waskaweb/lib/app_globals.py	2010-08-27 10:17:41 UTC (rev 3462)
+++ waska/trunk/waskaweb/lib/app_globals.py	2010-08-27 10:31:42 UTC (rev 3463)
@@ -1,25 +0,0 @@
-"""Extend the MPuls app_globals for WASKO"""
-
-from mpulsweb.lib.app_globals import Globals as MPulsGlobals
-
-from waskaweb.model.case import Case, CaseFactory
-from waskaweb.lib.search import CaseSearch
-
-
-class Globals(MPulsGlobals):
-
-    """This Globals class extends the base class with the following objects:
-
-       case_factory -- The factory to use to instantiate Case objects
-    """
-
-    def __init__(self):
-        MPulsGlobals.__init__(self)
-        self._init_case()
-
-    def _init_case(self):
-        fields = self.mpuls_config.get("case", "fields")
-        Case.set_fields(fields)
-        self.case_factory = CaseFactory(Case)
-        self.case_search  = CaseSearch
-        self.case = Case



More information about the Mpuls-commits mailing list