summaryrefslogtreecommitdiff
path: root/yaksh/views.py
diff options
context:
space:
mode:
authorankitjavalkar2019-04-08 16:12:50 +0530
committerankitjavalkar2019-04-09 12:59:47 +0530
commit54e674c12704013377b9dd6b6c82df526f4e1cdb (patch)
tree64fac43ea99189bae9c689cce489c1043c0e07ee /yaksh/views.py
parente1eedca03401223e51ef26ae166a2319c5c89eee (diff)
downloadonline_test-54e674c12704013377b9dd6b6c82df526f4e1cdb.tar.gz
online_test-54e674c12704013377b9dd6b6c82df526f4e1cdb.tar.bz2
online_test-54e674c12704013377b9dd6b6c82df526f4e1cdb.zip
Fix PEP8 issues
Diffstat (limited to 'yaksh/views.py')
-rw-r--r--yaksh/views.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/yaksh/views.py b/yaksh/views.py
index 79fb537..526c774 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -480,8 +480,7 @@ def start(request, questionpaper_id=None, attempt_num=None, course_id=None,
if not learning_module.is_prerequisite_passed(user, course):
msg = (
"You have not successfully passed the module"
- " previous to {0}".format(
- learning_module.name)
+ " previous to {0}".format(learning_module.name)
)
return course_modules(request, course_id, msg)
@@ -2441,8 +2440,7 @@ def show_lesson(request, lesson_id, module_id, course_id):
if not learn_module.is_prerequisite_passed(user, course):
msg = (
"You have not successfully passed the module"
- " previous to {0}".format(
- learn_module.name)
+ " previous to {0}".format(learn_module.name)
)
return view_module(request, module_id, course_id, msg)
@@ -2767,8 +2765,7 @@ def view_module(request, module_id, course_id, msg=None):
if not learning_module.is_prerequisite_passed(user, course):
msg = (
"You have not successfully passed the module"
- " previous to {0}".format(
- learning_module.name)
+ " previous to {0}".format(learning_module.name)
)
return course_modules(request, course_id, msg)