Changeset 5515 for WAeUP_SRP


Ignore:
Timestamp:
7 Sep 2010, 21:32:56 (14 years ago)
Author:
Henrik Bettermann
Message:

remove warnings (they do not make sense when importing verdicts)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPImport.py

    r5514 r5515  
    127127
    128128    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')
    130130        student_record = None
    131131        msg = ''
     
    139139                    break
    140140                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))
    149149            elif jamb_reg_no:
    150150                key_used = 'jamb_reg_no'
Note: See TracChangeset for help on using the changeset viewer.