Cache to debug other branch

This commit is contained in:
Don Mitchell
2012-12-13 16:34:58 -05:00
parent a39d609eea
commit e0849e8b5a
5 changed files with 68 additions and 68 deletions

View File

@@ -202,6 +202,27 @@ class CourseGradingModel:
del descriptor.metadata['graceperiod']
get_modulestore(course_location).update_metadata(course_location, descriptor.metadata)
@staticmethod
def get_section_grader_type(location):
"""
"""
if not isinstance(location, Location):
location = Location(location)
# TODO impl to return {grader-type, location, id (random)}
@staticmethod
def update_section_grader_type(location, jsondict):
"""
"""
if not isinstance(location, Location):
location = Location(location)
# TODO impl to return {grader-type, location, id (random)}
@staticmethod
def convert_set_grace_period(descriptor):
# 5 hours 59 minutes 59 seconds => converted to iso format