IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

remove test pritns

File:
1 edited

Legend:

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

    r37232 r37239  
    12591259                AND batch_type = '" + batchType + "'")
    12601260
    1261         print "deleted old items"
    1262 
    12631261        for id in ids:
    12641262            sql = "INSERT IGNORE INTO pending \
     
    12671265               (" + str(box_id) + ", '" + batchType + "', " + str(id) + ")"
    12681266
    1269             print "sql: ", sql
    1270 
    12711267            try: self.execute(sql)
    12721268            except:
    12731269                print "failed to insert into pending"
     1270                print "sql: " + sql
    12741271                raise
    12751272
     
    12961293               GROUP BY ra_center LIMIT 1"
    12971294
    1298         # XXX print "sql: ", sql               
    1299 
    13001295        try: rs = self.executeQuery(sql)
    13011296        except:
     
    13031298            print "SQL: " + sql
    13041299
    1305         print "SQL: " + sql
    13061300        if not rs.next():
    13071301            self.logger.errorPair("No outstanding boxes", "nothing to do here")
     
    13841378            print "SQL: " + sql
    13851379
    1386         print "SQL: " + sql
    13871380        if not rs.next():
    13881381            self.logger.infoPair("No outstanding boxes", "nothing to do here")
     
    16201613                       VALUES ( '" + dvo_db + "', '" + batchType + "'," + str(row[0]) + "," + str(row[1]) + " \
    16211614                       , " + str(row[2]) + ", '"+uniq+"' ) "
    1622                 print "sql 1: ", sql
     1615                # print "sql 1: ", sql
    16231616                self.execute(sql)
    16241617            except: continue
     
    16411634               AND dec_bore BETWEEN " + str(minDEC) + " AND " + str(maxDEC)
    16421635
    1643         print "items: ", sql
    1644 
    16451636        try:
    16461637            rs = self.executeQuery(sql)
    16471638            while (rs.next()):
    16481639                ids.append(rs.getInt(1))
    1649                 print "stage_id: " + str(rs.getInt(1))
    16501640        except:
    16511641            self.logger.errorPair("Can't get items in this box", sql)
Note: See TracChangeset for help on using the changeset viewer.