Changeset 1510 for WAeUP_SRP/trunk/skins/waeup_student/getSessionResults.py
- Timestamp:
- 27 Feb 2007, 15:59:04 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getSessionResults.py
r1497 r1510 6 6 import DateTime 7 7 current = DateTime.DateTime() 8 try: 9 from Products.zdb import set_trace 10 except: 11 def set_trace(): 12 pass 8 13 pr = context.portal_registration 9 10 14 request = context.REQUEST 11 15 returning = context.returning_import … … 20 24 return None 21 25 info = {} 22 #from Products.zdb import set_trace23 #set_trace()24 26 requested_id = context.getStudentId() 25 27 if requested_id and not context.isStaff() and member_id != requested_id: … … 98 100 99 101 100 if student_from_cat.verdict: 101 verdict_voc = context.portal_vocabularies.verdicts 102 verdict_voc = context.portal_vocabularies.verdicts 103 if verdict_voc.has_key(student_from_cat.verdict): 102 104 info['verdict'] = verdict_voc.get(student_from_cat.verdict).upper() 103 105 else:
Note: See TracChangeset for help on using the changeset viewer.