Changeset 1315 for WAeUP_SRP/trunk/skins/waeup_student/getSessionResults.py
- Timestamp:
- 17 Jan 2007, 17:38:41 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getSessionResults.py
r1258 r1315 41 41 42 42 students_object = context.portal_url.getPortalObject().campus.students 43 student = getattr(students_object, student_id) 44 45 46 clear = getattr(student,'clearance',None) 47 if clear: 48 value = clear.getContent().matric_no 49 else: 50 return None 43 ##student = getattr(students_object, student_id) 44 ##clear = getattr(student,'clearance',None) 45 ##if clear: 46 ## value = clear.getContent().matric_no 47 ##else: 48 ## return None 51 49 52 50 res = returning(matric_no = value)
Note: See TracChangeset for help on using the changeset viewer.