Changeset 5512


Ignore:
Timestamp:
6 Sep 2010, 20:21:05 (14 years ago)
Author:
Henrik Bettermann
Message:

do not output msg when overwriting matric nor reg numbers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPImport.py

    r5504 r5512  
    140140                if matric_no and student_record.matric_no:
    141141                    if  matric_no != student_record.matric_no:
    142                         msg = "old matric_no %s overwritten with %s" % (student_record.matric_no,matric_no)
    143                         #logger.info("%s, old matric_no %s overwritten with %s" % (student_record.id,student_record.matric_no,matric_no))
     142                        #msg = "old matric_no %s overwritten with %s" % (student_record.matric_no,matric_no)
     143                        logger.info("%s, old matric_no %s overwritten with %s" % (student_record.id,student_record.matric_no,matric_no))
    144144                if jamb_reg_no and student_record.jamb_reg_no:
    145145                    if jamb_reg_no != student_record.jamb_reg_no:
    146                         msg = "old reg_no %s overwritten with %s" % (student_record.jamb_reg_no,jamb_reg_no)
    147                         #logger.info("%s, old reg_no %s overwritten with %s" % (student_record.id,student_record.jamb_reg_no,jamb_reg_no))
     146                        #msg = "old reg_no %s overwritten with %s" % (student_record.jamb_reg_no,jamb_reg_no)
     147                        logger.info("%s, old reg_no %s overwritten with %s" % (student_record.id,student_record.jamb_reg_no,jamb_reg_no))
    148148            elif jamb_reg_no:
    149149                key_used = 'jamb_reg_no'
Note: See TracChangeset for help on using the changeset viewer.