- Timestamp:
- Aug 12, 2014, 3:38:38 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140717/ippToPsps/jython/scratchdb.py
r37239 r37241 427 427 # if no returned rows, return an error 428 428 if not rs.next(): 429 print "DVO lacks imageID ", imageID 430 print "sql: ", sql 429 self.logger.infoPair("DVO lacks imageID ", imageID) 431 430 return False 432 431 … … 436 435 437 436 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) 441 441 raise 442 442
Note:
See TracChangeset
for help on using the changeset viewer.
