Changeset 6927 for main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
- Timestamp:
- 23 Oct 2011, 18:30:07 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
r6920 r6927 1066 1066 comment = u"AC invalidated for %s" % self.context.student_id 1067 1067 # Here we know that the ac is in state initialized so we do not 1068 # expect an exception 1069 invalidate_accesscode(pin,comment) 1068 # expect an exception, but the owner might be different 1069 if not invalidate_accesscode(pin,comment,self.context.student_id): 1070 self.flash('You are not the owner of this access code.') 1071 return 1070 1072 self.context.clr_code = pin 1071 1073 IWorkflowInfo(self.context).fireTransition('start_clearance')
Note: See TracChangeset for help on using the changeset viewer.