- Timestamp:
- 31 Oct 2007, 10:16:14 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/getLevelFromResultsCosCode.py
r1678 r2487 10 10 # $Id$ 11 11 lnr = 0 12 found = False 12 13 for e in list: 13 14 if e.CosCode == "N/A": … … 20 21 try: 21 22 cc = int(e.CosCode[3]) 23 found = False 22 24 except: 23 25 continue 24 26 if lnr <= cc: 25 27 lnr = cc 28 if found: 29 return lnr 30 lnr = 0 31 for e in list: 32 try: 33 lnr = int(e.Level[0]) 34 break 35 except: 36 continue 26 37 return lnr 27
Note: See TracChangeset for help on using the changeset viewer.