IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

delete some test prints; more robust handling of header keywords

File:
1 edited

Legend:

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

    r37171 r37232  
    12521252    def insertPending(self, box_id, batchType, ids):
    12531253
    1254         # print "starting insert pending"
     1254        print "starting insert pending"
    12551255
    12561256        # first delete old pending items
     
    12591259                AND batch_type = '" + batchType + "'")
    12601260
    1261         # print "deleted old items"
     1261        print "deleted old items"
    12621262
    12631263        for id in ids:
     
    12671267               (" + str(box_id) + ", '" + batchType + "', " + str(id) + ")"
    12681268
    1269             # print "sql: ", sql
    1270             self.execute(sql)
     1269            print "sql: ", sql
     1270
     1271            try: self.execute(sql)
     1272            except:
     1273                print "failed to insert into pending"
     1274                raise
    12711275
    12721276    '''
Note: See TracChangeset for help on using the changeset viewer.