From ab0e7cf4ae168428a894d5d128a872a2eea6db46 Mon Sep 17 00:00:00 2001 From: David Ormsbee Date: Wed, 7 Nov 2012 17:36:50 -0500 Subject: [PATCH] Change AUTH_TOKENS index reference to a get so it doesn't explode the whole app if I did Puppet incorrectly. --- lms/envs/aws.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/envs/aws.py b/lms/envs/aws.py index ae5d2c3e9d..36d1a809df 100644 --- a/lms/envs/aws.py +++ b/lms/envs/aws.py @@ -80,4 +80,4 @@ if 'COURSE_ID' in ENV_TOKENS: ASKBOT_URL = "courses/{0}/discussions/".format(ENV_TOKENS['COURSE_ID']) PEARSON_TEST_USER = "pearsontest" -PEARSON_TEST_PASSWORD = AUTH_TOKENS["PEARSON_TEST_PASSWORD"] \ No newline at end of file +PEARSON_TEST_PASSWORD = AUTH_TOKENS.get("PEARSON_TEST_PASSWORD") \ No newline at end of file