- Timestamp:
- Jan 23, 2013, 3:03:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20121219/ippToPsps/jython/batch.py
r35027 r35032 408 408 for table in tables: 409 409 410 print "import smf table ", table410 # print "import smf table ", table 411 411 match = re.match(filter, table.name) 412 412 if not match: continue … … 414 414 table = stilts.tpipe(table, cmd='explodeall') 415 415 416 print "read smf table ", table416 # print "read smf table ", table 417 417 418 418 # drop any previous tables before import … … 424 424 table = stilts.tpipe(table, cmd='replaceval -Infinity null *') 425 425 table = stilts.tpipe(table, cmd='replaceval Infinity null *') 426 print "cleaned up values ", table426 # print "cleaned up values ", table 427 427 428 428 try: 429 429 table.write(self.scratchDb.url + '#' + table.name) 430 print "wrote to mysql ", table430 # print "wrote to mysql ", table 431 431 self.scratchDb.killLastConnectionID() 432 432 count = count + 1 … … 536 536 def run(self): 537 537 538 # this is badly named : it creates the tables and then fills in 539 # the ImageMeta tables for each ota (alterPspsTables) 538 540 if not self.createEmptyPspsTables(): 539 541 self.logger.errorPair("Aborting this batch", "could not create empty PSPS tables")
Note:
See TracChangeset
for help on using the changeset viewer.
