moksha/lib/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 6df8075d69fbb26def97123a9f0cfa9cf6cc3a89 Author: Luke Macken lmacken@redhat.com Date: Mon Dec 7 17:03:50 2009 -0500
Tweak our get_moksha_config_path again
diff --git a/moksha/lib/helpers.py b/moksha/lib/helpers.py index 496c576..00026e9 100644 --- a/moksha/lib/helpers.py +++ b/moksha/lib/helpers.py @@ -779,8 +779,8 @@ def get_moksha_config_path(): if in_full_moksha_stack(): return get_main_app_config_path() else: - for config_file in ('production.ini', 'development.ini'): - for config_path in ('.', '/etc/moksha/', __file__ + '/../../../'): + for config_path in ('.', '/etc/moksha/', __file__ + '/../../../'): + for config_file in ('production.ini', 'development.ini'): cfg = os.path.join(os.path.abspath(config_path), config_file) if os.path.isfile(cfg): return cfg
moksha-commits@lists.fedorahosted.org