- Timestamp:
- 5 Jun 2013, 09:07:33 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/studylevel.py
r10276 r10277 31 31 32 32 def find_carry_over(ticket): 33 return None 33 studylevel = ticket.__parent__ 34 studycourse = ticket.__parent__.__parent__ 35 levels = sorted(studycourse.keys()) 36 index = levels.index(str(studylevel.level)) 37 try: 38 next_level = levels[index+1] 39 except IndexError: 40 return None 41 next_studylevel = studycourse[next_level] 42 co_ticket = next_studylevel.get(ticket.code, None) 43 return co_ticket 34 44 35 45 def getGradeWeightFromScore(score):
Note: See TracChangeset for help on using the changeset viewer.