Changeset 14160 for main/waeup.aaue/trunk
- Timestamp:
- 5 Sep 2016, 08:41:20 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r14117 r14160 41 41 (4.5, '2nd Class Honours Upper Division'), 42 42 (5, '1st Class Honours')) 43 44 def getDegreeClassNumber(self, level_obj): 45 certificate = getattr(level_obj.__parent__,'certificate',None) 46 end_level = getattr(certificate, 'end_level', None) 47 if end_level and level_obj.student.current_level >= end_level: 48 failed_courses = level_obj.passed_params[4] 49 if '_m' in failed_courses: 50 return 0 51 # use gpa_boundaries above 52 return self.getClassFromCGPA(level_obj.cumulative_params[0])[0] 43 53 44 54 def increaseMatricInteger(self, student):
Note: See TracChangeset for help on using the changeset viewer.