From d86b72fc24e843ba2f0e36c24c232cadb67c4427 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Thu, 26 Jul 2012 12:37:38 -0400 Subject: [PATCH] Split REPOS data into separate file on aws --- cms/envs/aws.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cms/envs/aws.py b/cms/envs/aws.py index 531141f656..26a3545324 100644 --- a/cms/envs/aws.py +++ b/cms/envs/aws.py @@ -33,7 +33,8 @@ LOGGING = get_logger_config(LOG_DIR, syslog_addr=(ENV_TOKENS['SYSLOG_SERVER'], 514), debug=False) -REPOS = ENV_TOKENS['REPOS'] +with open(ENV_ROOT / "repos.json") as repos_file: + REPOS = json.load(repos_file) ############################## SECURE AUTH ITEMS ###############################