- Timestamp:
- 26 Jun 2007, 09:45:54 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTables.py
r1966 r1967 566 566 student_rec = res[0] 567 567 registered_courses = getattr(student_rec,'registered_courses',[]) 568 try: 569 x = course_id in registered_courses 570 except TypeError: 571 registered_courses = [] 568 572 if event_type == "sys_add_object" and course_id not in registered_courses: 569 573 registered_courses.append(course_id)
Note: See TracChangeset for help on using the changeset viewer.