Changeset 3819 for WAeUP_SRP/trunk/skins/waeup_ois/getStudyLevelInfo.py
- Timestamp:
- 16 Dec 2008, 07:09:43 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_ois/getStudyLevelInfo.py
r3811 r3819 137 137 info['gpa'] = "%4.2f" % (float(gpa)/int(total_credits)) 138 138 139 # carry_overs.sort(cmp_semester_id)140 139 info['carry_overs'] = carry_overs 141 # normal.sort(cmp_semester_id) 140 normal1.sort(cmp=lambda x,y: cmp( x['title'],y['title'])) 141 normal2.sort(cmp=lambda x,y: cmp( x['title'],y['title'])) 142 normal3.sort(cmp=lambda x,y: cmp( x['title'],y['title'])) 143 142 144 info['normal1'] = normal1 143 145 info['normal2'] = normal2
Note: See TracChangeset for help on using the changeset viewer.