From 987324027a37eff4cf60677289ad134cd9d6089e Mon Sep 17 00:00:00 2001 From: Serghei MIHAI Date: Mon, 26 Jan 2015 10:36:48 +0100 Subject: [PATCH] all environment settings are lists --- debian/debian_config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/debian_config.py b/debian/debian_config.py index efe1c6a..a7034bc 100644 --- a/debian/debian_config.py +++ b/debian/debian_config.py @@ -101,8 +101,8 @@ def extract_settings_from_environ(): for path_env in PATH_ENVS: if path_env in os.environ: - old = globals().get(path_env) - globals()[path_env] = os.environ[path_env].split(':') + old + old = list(globals().get(path_env)) + globals()[path_env] = list(os.environ[path_env].split(':')) + old INT_ENVS = ( 'SESSION_COOKIE_AGE', @@ -178,7 +178,7 @@ def extract_settings_from_environ(): except ImportError: raise ImproperlyConfigured('SENTRY_DSN environment variable is set but raven is not installed.') SENTRY_DSN = os.environ['SENTRY_DSN'] - INSTALLED_APPS = tuple(INSTALLED_APPS) + ('raven',) + INSTALLED_APPS = list(INSTALLED_APPS) + ['raven',] # extract any key starting with setting for key in os.environ: -- 2.1.4