[Mpuls-commits] r2712 - base/trunk/mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon May 17 16:51:23 CEST 2010
Author: torsten
Date: 2010-05-17 16:51:23 +0200 (Mon, 17 May 2010)
New Revision: 2712
Modified:
base/trunk/mpulsweb/lib/app_globals.py
Log:
* mpulsweb/lib/app_globals.py (Globals.__init__): Load tagging from base if there is no configuration specific tagging.
Modified: base/trunk/mpulsweb/lib/app_globals.py
===================================================================
--- base/trunk/mpulsweb/lib/app_globals.py 2010-05-17 14:51:17 UTC (rev 2711)
+++ base/trunk/mpulsweb/lib/app_globals.py 2010-05-17 14:51:23 UTC (rev 2712)
@@ -65,6 +65,9 @@
if not os.path.isabs(mapping_file):
root = config.get('pylons.paths').get('root')
mapping_file = os.path.join(root, '..', mapping_file)
+ if not os.path.isabs(tagging_file):
+ root = config.get('pylons.paths').get('root')
+ tagging_file = os.path.join(root, '..', tagging_file)
self.config_path = os.path.dirname(config_file)
self.mpuls_config = MpulsAppConfig(config_file)
More information about the Mpuls-commits
mailing list