Changeset 2416 for WAeUP_SRP/base/skins
- Timestamp:
- 22 Oct 2007, 18:02:54 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/remove_students.py
r2402 r2416 64 64 65 65 if student_ids: 66 brains = aq_students(In('id',student_ids)) 66 brains = aq_students(In('id',student_ids) | In('matric_no', student_ids)) 67 #matno_brains = aq_students(In('matric_no', student_ids)) 67 68 brains_dict = {} 69 #id_brains_dict = {} 70 #matno_brains_dict = {} 68 71 if brains: 69 72 for b in brains: 70 brains_dict[b.id] = b 73 if b.id in student_ids: 74 brains_dict[b.id] = b 75 elif b.matric_no in student_ids: 76 brains_dict[b.matric_no] = b 77 #set_trace() 71 78 for student_id in student_ids: 72 79 student = {}
Note: See TracChangeset for help on using the changeset viewer.