Changeset 2033 for WAeUP_SRP/trunk/WAeUPTables.py
- Timestamp:
- 18 Jul 2007, 13:44:13 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTables.py
r1986 r2033 550 550 if event_type not in ("sys_add_object","sys_del_object"): 551 551 return 552 #import pdb;pdb.set_trace() 553 level_session = getattr(object.aq_parent.getContent(),'session','unknown') 554 if level_session not in (self.getSessionId()[-2:],'2006/2007'): 555 return 552 556 course_id = object.getId() 553 557 if course_id.endswith('_co'): … … 559 563 student_rec = res[0] 560 564 registered_courses = getattr(student_rec,'registered_courses',[]) 561 #import pdb;pdb.set_trace()562 565 try: 563 566 x = course_id in registered_courses
Note: See TracChangeset for help on using the changeset viewer.