Commit ea26b19d by cahrens

pylint/pep8 cleanup.

parent 1184a97b
......@@ -38,7 +38,7 @@ def get_checklists(request, org, course, name):
course_module.save()
modulestore.update_metadata(location, own_metadata(course_module))
expanded_checklists = expand_all_checklist_action_urls(course_module)
expanded_checklists = expand_all_action_urls(course_module)
return render_to_response('checklists.html',
{
'context_course': course_module,
......@@ -89,11 +89,11 @@ def update_checklist(request, org, course, name, checklist_index=None):
elif request.method == 'GET':
# In the JavaScript view initialize method, we do a fetch to get all
# the checklists.
expanded_checklists = expand_all_checklist_action_urls(course_module)
expanded_checklists = expand_all_action_urls(course_module)
return JsonResponse(expanded_checklists)
def expand_all_checklist_action_urls(course_module):
def expand_all_action_urls(course_module):
"""
Gets the checklists out of the course module and expands their action urls.
......
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