IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 12, 2014, 3:38:38 PM (12 years ago)
Author:
eugene
Message:

dropping more test prints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140717/ippToPsps/jython/scratchdb.py

    r37239 r37241  
    427427            # if no returned rows, return an error
    428428            if not rs.next():
    429                 print "DVO lacks imageID ", imageID
    430                 print "sql: ", sql
     429                self.logger.infoPair("DVO lacks imageID ", imageID)
    431430                return False
    432431
     
    436435
    437436            else:
    438                 print "DVO has wrong imageID? ", imageID
    439                 print "result was ", rs.getInt(1)
    440                 print "sql: ", sql
     437                self.logger.error("DVO has wrong imageID? ")
     438                self.logger.error("imageID: ", imageID)
     439                self.logger.error("EXTERN_ID: ", rs.getInt(1))
     440                self.logger.infoPair("sql: ", sql)
    441441                raise
    442442
Note: See TracChangeset for help on using the changeset viewer.