Changeset 3402
- Timestamp:
- 1 Apr 2008, 15:53:50 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPImport.py
r3383 r3402 772 772 res = self.students_catalog(jamb_reg_no = jamb_reg_no) 773 773 if res: 774 msg = "jamb_reg_no exists "774 msg = "jamb_reg_no exists for student %s" % res[0].id 775 775 break 776 776 if matric_no: 777 777 res = self.students_catalog(matric_no = matric_no) 778 778 if res: 779 msg = "matric_no exists "779 msg = "matric_no exists for student %s" % res[0].id 780 780 break 781 781 if not matric_no and not jamb_reg_no: … … 826 826 827 827 def edit(self,mapping): ###( 828 "edit student records due import" 828 829 wftool = self.portal_workflow 829 "edit student records due import"830 830 logger = logging.getLogger('WAeUPTool.mass_edit_student') 831 831 students_folder = self.portal_url.getPortalObject().campus.students … … 844 844 if matric_no and student_record.matric_no: 845 845 if matric_no != student_record.matric_no: 846 res = self.students_catalog(matric_no = matric_no) 847 if res: 848 msg = "matric_no exists for student %s" % res[0].id 849 break 846 850 msg = "old matric_no %s overwritten with %s" % (student_record.matric_no,matric_no) 847 851 #logger.info("%s, old matric_no %s overwritten with %s" % (student_record.id,student_record.matric_no,matric_no))
Note: See TracChangeset for help on using the changeset viewer.