Commit 3a7b265c by Calen Pennington

Add trailing commas to multiline lists, to prevent string concatenation bugs

parent a2efb796
......@@ -47,7 +47,7 @@ __all__ = [
'choose_transcripts',
'replace_transcripts',
'rename_transcripts',
'save_transcripts'
'save_transcripts',
]
log = logging.getLogger(__name__)
......
......@@ -248,7 +248,7 @@ STATICFILES_DIRS = [
LMS_ROOT / "static",
# This is how you would use the textbook images locally
# ("book", ENV_ROOT / "book_images")
# ("book", ENV_ROOT / "book_images"),
]
# Locale/Internationalization
......
......@@ -28,7 +28,7 @@ LOGFIELDS = [
'agent',
'page',
'time',
'host'
'host',
]
......
......@@ -54,7 +54,7 @@ html_problem_semantics = [
"script",
"hintgroup",
"openendedparam",
"openendedrubric"
"openendedrubric",
]
log = logging.getLogger(__name__)
......
......@@ -3,7 +3,7 @@ import logging
# Silence noisy loggers
LOG_OVERRIDES = [
('requests.packages.urllib3.connectionpool', logging.ERROR),
('django.db.backends', logging.ERROR)
('django.db.backends', logging.ERROR),
]
for log_name, log_level in LOG_OVERRIDES:
......
......@@ -9,10 +9,10 @@ from django.utils.translation import ugettext as _
HTML5_SOURCES = [
'https://s3.amazonaws.com/edx-course-videos/edx-intro/edX-FA12-cware-1_100.mp4',
'https://s3.amazonaws.com/edx-course-videos/edx-intro/edX-FA12-cware-1_100.webm',
'https://s3.amazonaws.com/edx-course-videos/edx-intro/edX-FA12-cware-1_100.ogv'
'https://s3.amazonaws.com/edx-course-videos/edx-intro/edX-FA12-cware-1_100.ogv',
]
HTML5_SOURCES_INCORRECT = [
'https://s3.amazonaws.com/edx-course-videos/edx-intro/edX-FA12-cware-1_100.mp99'
'https://s3.amazonaws.com/edx-course-videos/edx-intro/edX-FA12-cware-1_100.mp99',
]
coursenum = 'test_course'
......
......@@ -34,7 +34,7 @@ STATICFILES_DIRS = [
("subs", DATA_DIR / "subs"),
# This is how you would use the textbook images locally
# ("book", ENV_ROOT / "book_images")
# ("book", ENV_ROOT / "book_images"),
]
MAKO_TEMPLATES['course'] = [DATA_DIR, EDX4EDX_ROOT]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment