From e17276ade86dc055745befcfb967a9db34df3a92 Mon Sep 17 00:00:00 2001 From: Vik Paruchuri Date: Fri, 24 May 2013 16:43:29 -0400 Subject: [PATCH] Fix some pep8 stuff --- common/lib/xmodule/xmodule/combined_open_ended_module.py | 8 ++++---- .../lib/xmodule/xmodule/css/combinedopenended/edit.scss | 2 +- .../xmodule/js/src/combinedopenended/display.coffee | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common/lib/xmodule/xmodule/combined_open_ended_module.py b/common/lib/xmodule/xmodule/combined_open_ended_module.py index 41e0d13c72..0e32770afc 100644 --- a/common/lib/xmodule/xmodule/combined_open_ended_module.py +++ b/common/lib/xmodule/xmodule/combined_open_ended_module.py @@ -54,15 +54,15 @@ class CombinedOpenEndedFields(object): state = String(help="Which step within the current task that the student is on.", default="initial", scope=Scope.user_state) student_attempts = StringyInteger(help="Number of attempts taken by the student on this problem", default=0, - scope=Scope.user_state) + scope=Scope.user_state) ready_to_reset = StringyBoolean(help="If the problem is ready to be reset or not.", default=False, - scope=Scope.user_state) + scope=Scope.user_state) attempts = StringyInteger(help="Maximum number of attempts that a student is allowed.", default=1, scope=Scope.settings) is_graded = StringyBoolean(help="Whether or not the problem is graded.", default=False, scope=Scope.settings) accept_file_upload = StringyBoolean(help="Whether or not the problem accepts file uploads.", default=False, - scope=Scope.settings) + scope=Scope.settings) skip_spelling_checks = StringyBoolean(help="Whether or not to skip initial spelling checks.", default=True, - scope=Scope.settings) + scope=Scope.settings) due = Date(help="Date that this problem is due by", default=None, scope=Scope.settings) graceperiod = String(help="Amount of time after the due date that submissions will be accepted", default=None, scope=Scope.settings) diff --git a/common/lib/xmodule/xmodule/css/combinedopenended/edit.scss b/common/lib/xmodule/xmodule/css/combinedopenended/edit.scss index 23fa2e0b80..94515ff4b7 100644 --- a/common/lib/xmodule/xmodule/css/combinedopenended/edit.scss +++ b/common/lib/xmodule/xmodule/css/combinedopenended/edit.scss @@ -103,4 +103,4 @@ display: inline-block; vertical-align: middle; color: #333; -} \ No newline at end of file +} diff --git a/common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee b/common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee index bbd05e7f59..d4c2ff00ae 100644 --- a/common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee +++ b/common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee @@ -576,4 +576,4 @@ class @CombinedOpenEnded $('.file-upload-preview')[0].width = width_px/scale_factor $('.file-upload-preview')[0].height = height_px/scale_factor $('.file-upload-preview').show() - reader.readAsDataURL($('.file-upload-box')[0].files[0]) \ No newline at end of file + reader.readAsDataURL($('.file-upload-box')[0].files[0])