Changeset 33785 for trunk/ippToPsps/jython/ipptopspsdb.py
- Timestamp:
- Apr 16, 2012, 10:48:54 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/ipptopspsdb.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/ipptopspsdb.py
r33726 r33785 1272 1272 1273 1273 self.execute("CREATE TEMPORARY TABLE all_pending (stage_id bigint(20), ra_bore float, dec_bore float)") 1274 count = 01275 1274 for row in rows: 1276 1275 … … 1279 1278 VALUES (%d, %f, %f)" % (row[0], row[1], row[2]) 1280 1279 self.execute(sql) 1281 count += 11282 1280 except: continue 1283 1281 1284 self.logger.infoPair("All items written to Db", "%d" % count) 1282 count = self.getRowCount("all_pending") 1283 self.logger.infoPair("Items written to Db", "%d" % count) 1285 1284 1286 1285 '''
Note:
See TracChangeset
for help on using the changeset viewer.
