Self assessment wrapped into another module now works

This commit is contained in:
Vik Paruchuri
2012-12-28 12:28:31 -05:00
parent 517c79e00a
commit b009d15dcc

View File

@@ -457,21 +457,12 @@ class SelfAssessmentModule():
self.record_latest_hint(get['hint'])
self.change_state(self.DONE)
# To the tracking logs!
event_info = {
'selfassessment_id': self.location.url(),
'state': {
'version': self.STATE_VERSION,
'history': self.history,
}
}
return {'success': True,
'message_html': self.get_message_html(),
'allow_reset': self._allow_reset()}
def reset(self, get):
def reset(self, get, system):
"""
If resetting is allowed, reset the state.