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
101ae3ad
Commit
101ae3ad
authored
Feb 17, 2014
by
Bertrand Marron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove git version from STATIC_URL
parent
e5383f3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
+1
-3
cms/envs/aws.py
+1
-3
No files found.
cms/envs/aws.py
View file @
101ae3ad
...
@@ -14,7 +14,6 @@ from logsettings import get_logger_config
...
@@ -14,7 +14,6 @@ from logsettings import get_logger_config
import
os
import
os
from
path
import
path
from
path
import
path
from
dealer.git
import
git
from
xmodule.modulestore.modulestore_settings
import
convert_module_store_setting_if_needed
from
xmodule.modulestore.modulestore_settings
import
convert_module_store_setting_if_needed
# SERVICE_VARIANT specifies name of the variant used, which decides what JSON
# SERVICE_VARIANT specifies name of the variant used, which decides what JSON
...
@@ -95,7 +94,6 @@ if STATIC_URL_BASE:
...
@@ -95,7 +94,6 @@ if STATIC_URL_BASE:
STATIC_URL
=
STATIC_URL_BASE
.
encode
(
'ascii'
)
STATIC_URL
=
STATIC_URL_BASE
.
encode
(
'ascii'
)
if
not
STATIC_URL
.
endswith
(
"/"
):
if
not
STATIC_URL
.
endswith
(
"/"
):
STATIC_URL
+=
"/"
STATIC_URL
+=
"/"
STATIC_URL
+=
git
.
revision
+
"/"
# GITHUB_REPO_ROOT is the base directory
# GITHUB_REPO_ROOT is the base directory
# for course data
# for course data
...
@@ -106,7 +104,7 @@ GITHUB_REPO_ROOT = ENV_TOKENS.get('GITHUB_REPO_ROOT', GITHUB_REPO_ROOT)
...
@@ -106,7 +104,7 @@ GITHUB_REPO_ROOT = ENV_TOKENS.get('GITHUB_REPO_ROOT', GITHUB_REPO_ROOT)
STATIC_ROOT_BASE
=
ENV_TOKENS
.
get
(
'STATIC_ROOT_BASE'
,
None
)
STATIC_ROOT_BASE
=
ENV_TOKENS
.
get
(
'STATIC_ROOT_BASE'
,
None
)
if
STATIC_ROOT_BASE
:
if
STATIC_ROOT_BASE
:
STATIC_ROOT
=
path
(
STATIC_ROOT_BASE
)
/
git
.
revision
STATIC_ROOT
=
path
(
STATIC_ROOT_BASE
)
EMAIL_BACKEND
=
ENV_TOKENS
.
get
(
'EMAIL_BACKEND'
,
EMAIL_BACKEND
)
EMAIL_BACKEND
=
ENV_TOKENS
.
get
(
'EMAIL_BACKEND'
,
EMAIL_BACKEND
)
EMAIL_FILE_PATH
=
ENV_TOKENS
.
get
(
'EMAIL_FILE_PATH'
,
None
)
EMAIL_FILE_PATH
=
ENV_TOKENS
.
get
(
'EMAIL_FILE_PATH'
,
None
)
...
...
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