From 703293f7853cd9a1d0b3a7a2b113c34306df3bb2 Mon Sep 17 00:00:00 2001 From: John Jarvis Date: Tue, 24 Jul 2012 15:56:42 -0400 Subject: [PATCH] adding enabled features to aws.py --- lms/envs/aws.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lms/envs/aws.py b/lms/envs/aws.py index c61396d5fd..0ee4ac8c14 100644 --- a/lms/envs/aws.py +++ b/lms/envs/aws.py @@ -32,11 +32,15 @@ LOG_DIR = ENV_TOKENS['LOG_DIR'] CACHES = ENV_TOKENS['CACHES'] +for feature in ENV_TOKEN['ENABLED_FEATURE']: + MITX_FEATURES[feature] = True + LOGGING = get_logger_config(LOG_DIR, logging_env=ENV_TOKENS['LOGGING_ENV'], syslog_addr=(ENV_TOKENS['SYSLOG_SERVER'], 514), debug=False) + ############################## SECURE AUTH ITEMS ############################### # Secret things: passwords, access keys, etc. with open(ENV_ROOT / "auth.json") as auth_file: