Changeset 1400 for WAeUP_SRP/trunk
- Timestamp:
- 8 Feb 2007, 14:54:59 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_utilities/deleteStudentByMatricNo.py
r1384 r1400 70 70 logger.info(msg) 71 71 72 # remove objects 73 74 if hasattr(students,student_id): 75 students.manage_delObjects((student_id),) 76 msg = "Student object for %s deleted" % student_id 77 else: 78 msg = "No students object for %s" % student_id 79 output.append(msg) 80 logger.info(msg) 81 72 82 # remove from directory 73 83 … … 80 90 logger.info(msg) 81 91 82 # remove objects83 84 if hasattr(students,student_id):85 students.manage_delObjects((student_id),)86 msg = "Student object for %s deleted" % student_id87 else:88 msg = "No students object for %s" % student_id89 output.append(msg)90 logger.info(msg)91 92 92 93 return "\n".join(output)
Note: See TracChangeset for help on using the changeset viewer.