Changeset 1543 for WAeUP_SRP/trunk
- Timestamp:
- 14 Mar 2007, 12:44:43 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getSessionResults.py
r1524 r1543 99 99 gpa = "%4.2f" % gpa 100 100 101 101 #set_trace() 102 102 verdict_voc = context.portal_vocabularies.verdicts 103 if verdict_voc.has_key(student_from_cat.verdict): 104 info['verdict'] = verdict = verdict_voc.get(student_from_cat.verdict).upper() 103 verdict_code = student_from_cat.get('verdict',None) 104 if verdict_code: 105 info['verdict'] = verdict = verdict_voc.get(verdict_code,'N/A').upper() 105 106 else: 106 info['verdict'] = 'N/A'107 info['verdict'] = verdict = 'N/A' 107 108 108 109 if student_from_cat.level:
Note: See TracChangeset for help on using the changeset viewer.