Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
91db1eed
Commit
91db1eed
authored
May 06, 2013
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The new settings will only be read from .json files if aws.py handles them.
parent
3da841ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
lms/envs/aws.py
+10
-0
No files found.
lms/envs/aws.py
View file @
91db1eed
...
...
@@ -89,6 +89,16 @@ COMMENTS_SERVICE_URL = ENV_TOKENS.get("COMMENTS_SERVICE_URL", '')
COMMENTS_SERVICE_KEY
=
ENV_TOKENS
.
get
(
"COMMENTS_SERVICE_KEY"
,
''
)
CERT_QUEUE
=
ENV_TOKENS
.
get
(
"CERT_QUEUE"
,
'test-pull'
)
for
name
,
value
in
ENV_TOKENS
.
get
(
"CODE_JAIL"
,
{})
.
items
():
oldvalue
=
CODE_JAIL
.
get
(
name
)
if
isinstance
(
oldvalue
,
dict
):
for
subname
,
subvalue
in
value
.
items
():
oldvalue
[
subname
]
=
subvalue
else
:
CODE_JAIL
[
name
]
=
value
COURSES_WITH_UNSAFE_CODE
=
ENV_TOKENS
.
get
(
"COURSES_WITH_UNSAFE_CODE"
,
[])
############################## SECURE AUTH ITEMS ###############
# Secret things: passwords, access keys, etc.
with
open
(
ENV_ROOT
/
CONFIG_PREFIX
+
"auth.json"
)
as
auth_file
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment