- Timestamp:
- 1 Apr 2008, 20:15:01 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPImport.py
r3402 r3404 772 772 res = self.students_catalog(jamb_reg_no = jamb_reg_no) 773 773 if res: 774 msg = "jamb_reg_no exists forstudent %s" % res[0].id774 msg = "jamb_reg_no already assigned to 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 forstudent %s" % res[0].id779 msg = "matric_no already assigned to student %s" % res[0].id 780 780 break 781 781 if not matric_no and not jamb_reg_no: … … 846 846 res = self.students_catalog(matric_no = matric_no) 847 847 if res: 848 msg = "matric_no exists forstudent %s" % res[0].id848 msg = "matric_no already assigned to student %s" % res[0].id 849 849 break 850 850 msg = "old matric_no %s overwritten with %s" % (student_record.matric_no,matric_no) … … 852 852 if jamb_reg_no and student_record.jamb_reg_no: 853 853 if jamb_reg_no != student_record.jamb_reg_no: 854 msg = "old reg_no %s overwritten with %s" % (student_record.jamb_reg_no,jamb_reg_no) 854 res = self.students_catalog(jamb_reg_no = jamb_reg_no) 855 if res: 856 msg = "jamb_reg_no already assigned to student %s" % res[0].id 857 break 858 msg = "old jamb_reg_no %s overwritten with %s" % (student_record.jamb_reg_no,jamb_reg_no) 855 859 #logger.info("%s, old reg_no %s overwritten with %s" % (student_record.id,student_record.jamb_reg_no,jamb_reg_no)) 856 860 elif jamb_reg_no:
Note: See TracChangeset for help on using the changeset viewer.