summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérôme Schneider <jschneider@entrouvert.com>2014-06-03 17:31:26 (GMT)
committerJérôme Schneider <jschneider@entrouvert.com>2014-06-03 17:31:26 (GMT)
commitdbf96cd0380c5e06947d9421125b846c5a8948bc (patch)
tree601bbf3be66eb5d5dbed6d3c8ecb41e92360ce42
parente3c00750dc6dc649e0d6bc4c0c1f4244f6069ba6 (diff)
downloadmandaye-meyzieu-dbf96cd0380c5e06947d9421125b846c5a8948bc.zip
mandaye-meyzieu-dbf96cd0380c5e06947d9421125b846c5a8948bc.tar.gz
mandaye-meyzieu-dbf96cd0380c5e06947d9421125b846c5a8948bc.tar.bz2
fix local_settings import
-rw-r--r--rp_meyzieu/config.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/rp_meyzieu/config.py b/rp_meyzieu/config.py
index da275f8..71c428b 100644
--- a/rp_meyzieu/config.py
+++ b/rp_meyzieu/config.py
@@ -120,7 +120,8 @@ storage_backend = "mandaye.backends.sql"
# Import local config
try:
- from ..rp_meyzieu.local_config import *
-except:
- pass
+ from local_settings import *
+except ImportError, e:
+ if 'local_settings' in e.args[0]:
+ pass