Changeset 1524
- Timestamp:
- 7 Mar 2007, 17:11:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getSessionResults.py
r1510 r1524 102 102 verdict_voc = context.portal_vocabularies.verdicts 103 103 if verdict_voc.has_key(student_from_cat.verdict): 104 info['verdict'] = verdict _voc.get(student_from_cat.verdict).upper()104 info['verdict'] = verdict = verdict_voc.get(student_from_cat.verdict).upper() 105 105 else: 106 106 info['verdict'] = 'N/A' … … 111 111 else: 112 112 info['sex'] = 'M' 113 info['level'] = int(student_from_cat.level)-100 113 if verdict in ('A','B'): 114 info['level'] = int(student_from_cat.level)-100 115 else: 116 info['level'] = int(student_from_cat.level) 114 117 else: 115 118 info['sex'] = 'N/A'
Note: See TracChangeset for help on using the changeset viewer.