Changeset 35032 for branches/eam_branches/ipp-20121219/ippToPsps/jython
- Timestamp:
- Jan 23, 2013, 3:03:42 PM (14 years ago)
- Location:
- branches/eam_branches/ipp-20121219/ippToPsps/jython
- Files:
-
- 2 edited
-
batch.py (modified) (4 diffs)
-
stackbatch.py (modified) (2 diffs)
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") -
branches/eam_branches/ipp-20121219/ippToPsps/jython/stackbatch.py
r35008 r35032 513 513 514 514 # print "sql: ", sql 515 # response = raw_input("ready to insert stack det ") 515 516 516 517 self.scratchDb.execute(sql) … … 838 839 839 840 # print "update dvo sql: ", sql 841 # response = raw_input("update dvo...") 840 842 self.scratchDb.execute(sql) 841 843
Note:
See TracChangeset
for help on using the changeset viewer.
