Changeset 5515
- Timestamp:
- 7 Sep 2010, 21:32:56 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPImport.py
r5514 r5515 127 127 128 128 def findStudent(self,mode,student_id=None, matric_no=None, jamb_reg_no=None): ###( 129 logger = logging.getLogger('WAeUPImport.findStudent')129 #logger = logging.getLogger('WAeUPImport.findStudent') 130 130 student_record = None 131 131 msg = '' … … 139 139 break 140 140 student_record = res[0] 141 if matric_no and student_record.matric_no:142 if matric_no != student_record.matric_no:143 #msg = "old matric_no %s overwritten with %s" % (student_record.matric_no,matric_no)144 logger.info("%s, old matric_no %s overwritten with %s" % (student_record.id,student_record.matric_no,matric_no))145 if jamb_reg_no and student_record.jamb_reg_no:146 if jamb_reg_no != student_record.jamb_reg_no:147 #msg = "old reg_no %s overwritten with %s" % (student_record.jamb_reg_no,jamb_reg_no)148 logger.info("%s, old reg_no %s overwritten with %s" % (student_record.id,student_record.jamb_reg_no,jamb_reg_no))141 #if matric_no and student_record.matric_no: 142 # if matric_no != student_record.matric_no: 143 # #msg = "old matric_no %s overwritten with %s" % (student_record.matric_no,matric_no) 144 # logger.info("%s, old matric_no %s overwritten with %s" % (student_record.id,student_record.matric_no,matric_no)) 145 #if jamb_reg_no and student_record.jamb_reg_no: 146 # if jamb_reg_no != student_record.jamb_reg_no: 147 # #msg = "old reg_no %s overwritten with %s" % (student_record.jamb_reg_no,jamb_reg_no) 148 # logger.info("%s, old reg_no %s overwritten with %s" % (student_record.id,student_record.jamb_reg_no,jamb_reg_no)) 149 149 elif jamb_reg_no: 150 150 key_used = 'jamb_reg_no'
Note: See TracChangeset for help on using the changeset viewer.