[Mpuls-commits] r4046 - base/trunk/mpulsweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Oct 27 18:42:17 CEST 2010


Author: torsten
Date: 2010-10-27 18:42:15 +0200 (Wed, 27 Oct 2010)
New Revision: 4046

Modified:
   base/trunk/mpulsweb/model/case.py
Log:
* mpulsweb/model/case.py (MpulsCase.checkValidity): Use tagging config defined on application start in app_globals.


Modified: base/trunk/mpulsweb/model/case.py
===================================================================
--- base/trunk/mpulsweb/model/case.py	2010-10-27 16:11:25 UTC (rev 4045)
+++ base/trunk/mpulsweb/model/case.py	2010-10-27 16:42:15 UTC (rev 4046)
@@ -889,13 +889,11 @@
         db = config.get('mpuls.db.database')
         db_user = config.get('mpuls.db.user')
         db_name = getDbName()
-        filename = config.get('mpuls.app.tagging')
 
         #TODO:
         # 1. Use established db-connection
         # 2. Do create (and parse config) a TagSetter every time.
-
-        tagconfig = TagSetterConfig(filename,
+        tagconfig = TagSetterConfig(g.taggingConfFile,
                                     username=db_user % (db_name, user.login),
                                     password=user.password,
                                     database=db % db_name,



More information about the Mpuls-commits mailing list