Commit aa7f1f86 by Chris Dodge

actually, I think we use single quotes for docstrings

parent bcbac3aa
...@@ -3,7 +3,7 @@ from django.conf import settings ...@@ -3,7 +3,7 @@ from django.conf import settings
def can_execute_unsafe_code(course_id): def can_execute_unsafe_code(course_id):
""" '''
Determine if this course is allowed to run unsafe code. Determine if this course is allowed to run unsafe code.
For use from the ModuleStore. Checks the `course_id` against a list of whitelisted For use from the ModuleStore. Checks the `course_id` against a list of whitelisted
...@@ -11,7 +11,7 @@ def can_execute_unsafe_code(course_id): ...@@ -11,7 +11,7 @@ def can_execute_unsafe_code(course_id):
Returns a boolean, true if the course can run outside the sandbox. Returns a boolean, true if the course can run outside the sandbox.
""" '''
# To decide if we can run unsafe code, we check the course id against # To decide if we can run unsafe code, we check the course id against
# a list of regexes configured on the server. # a list of regexes configured on the server.
for regex in settings.COURSES_WITH_UNSAFE_CODE: for regex in settings.COURSES_WITH_UNSAFE_CODE:
......
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