- Timestamp:
- 28 Feb 2008, 13:06:20 (17 years ago)
- Location:
- WAeUP_SRP/base/skins
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_academics/getCertificatesVoc.py
r2727 r3254 11 11 if res: 12 12 return [-1].Title 13 r eturn "unknown Faculty %s" % key13 raise KeyError -
WAeUP_SRP/base/skins/waeup_academics/getDepartmentsVoc.py
r2728 r3254 11 11 if res: 12 12 return res[-1].Title 13 return "unknown Department %s" % key14 13 14 raise KeyError 15 -
WAeUP_SRP/base/skins/waeup_accommodation/reservedRoomsVoc.py
r1447 r3254 15 15 if k == key: 16 16 return v 17 raise KeyError -
WAeUP_SRP/base/skins/waeup_default/getSessionsVoc.py
r3085 r3254 15 15 y = int(key) 16 16 except: 17 r eturn key17 raise KeyError 18 18 if y == -1: 19 r eturn ''19 raise KeyError 20 20 if y < 90: 21 21 cent = 2000 -
WAeUP_SRP/base/skins/waeup_student/getStudentLevelsVoc.py
r3041 r3254 33 33 ikey = int(key) 34 34 else: 35 r eturn ''35 raise KeyError 36 36 level_nr,repeat = divmod(ikey, 100) 37 37 l = [] 38 38 39 level = context.portal_vocabularies.levels.get("%d00" % level_nr) 39 level = context.portal_vocabularies.levels.get("%d00" % level_nr,None) 40 if level is None: 41 raise KeyError 42 40 43 if level_nr > end_level/100: 41 44 return "%s Spillover" % context.portal_vocabularies.levels.get("%d00" % (level_nr - 1))
Note: See TracChangeset for help on using the changeset viewer.