[Mpuls-commits] r1232 - wasko/branches/2.0/waskaweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Feb 4 11:23:43 CET 2010
Author: torsten
Date: 2010-02-04 11:23:40 +0100 (Thu, 04 Feb 2010)
New Revision: 1232
Modified:
wasko/branches/2.0/waskaweb/lib/app_globals.py
Log:
Only import load_db_mapping_from_file from lib/security
Modified: wasko/branches/2.0/waskaweb/lib/app_globals.py
===================================================================
--- wasko/branches/2.0/waskaweb/lib/app_globals.py 2010-02-04 10:21:45 UTC (rev 1231)
+++ wasko/branches/2.0/waskaweb/lib/app_globals.py 2010-02-04 10:23:40 UTC (rev 1232)
@@ -33,9 +33,9 @@
from mpulsweb.lib.timelog import setupTimeLogging
from mpulsweb.lib.config import MpulsConfig
+from mpulsweb.lib.security import load_db_mapping_from_file
from mpulsweb.model.annotations import AnnotationsProvider
-import mpulsweb.lib.security as security
log = logging.getLogger(__name__)
@@ -96,5 +96,5 @@
mapping_file = config.get('db_mapping_file')
if mapping_file:
- security.load_db_mapping_from_file(mapping_file)
+ load_db_mapping_from_file(mapping_file)
More information about the Mpuls-commits
mailing list