Commit 39206948 by Calen Pennington

Fix contract on context argument

parent 04ca163f
...@@ -196,7 +196,7 @@ def grade_histogram(module_id): ...@@ -196,7 +196,7 @@ def grade_histogram(module_id):
return grades return grades
@contract(user=User, has_instructor_access=bool, block=XBlock, view=basestring, frag=Fragment, context=dict) @contract(user=User, has_instructor_access=bool, block=XBlock, view=basestring, frag=Fragment, context="dict|None")
def add_staff_markup(user, has_instructor_access, block, view, frag, context): # pylint: disable=unused-argument def add_staff_markup(user, has_instructor_access, block, view, frag, context): # pylint: disable=unused-argument
""" """
Updates the supplied module with a new get_html function that wraps Updates the supplied module with a new get_html function that wraps
......
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