From b32c4aaa569e9fdbe9b58d81e14d677b26281faa Mon Sep 17 00:00:00 2001 From: Chris Dodge Date: Tue, 2 Jul 2013 21:52:48 -0400 Subject: [PATCH] actually, seems like we should be using double quotes for docstrings --- common/djangoapps/util/sandboxing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/djangoapps/util/sandboxing.py b/common/djangoapps/util/sandboxing.py index f3c7146148..7d1c1da06f 100644 --- a/common/djangoapps/util/sandboxing.py +++ b/common/djangoapps/util/sandboxing.py @@ -3,7 +3,7 @@ from django.conf import settings def can_execute_unsafe_code(course_id): - ''' + """ Determine if this course is allowed to run unsafe code. 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): 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 # a list of regexes configured on the server. for regex in settings.COURSES_WITH_UNSAFE_CODE: