From c18e9f7fe4d9f66bec03f0a5955c5017246c0757 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Fri, 31 Oct 2014 11:10:46 +0100 Subject: [PATCH] config.py: don't support local_settings.py anymore --- mandaye/config.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/mandaye/config.py b/mandaye/config.py index 320eb3e..45cdc2b 100644 --- a/mandaye/config.py +++ b/mandaye/config.py @@ -187,10 +187,3 @@ session_opts = { 'session.data_dir': config.get('session', 'data_dir') } -# Import local config -try: - from local_config import * -except ImportError, e: - if not 'local_config' in e.args[0]: - raise ImproperlyConfigured('Error while importing "local_config.py"') -