Changeset 35183 for trunk/ippToPsps/jython/dvo.py
- Timestamp:
- Feb 20, 2013, 9:49:30 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/dvo.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/dvo.py
r35181 r35183 587 587 # blow away existing dvoDetection table 588 588 589 # clear the 'ingested' field for all boxes 590 # XXX oops: this causes problems for multiple loaders... 591 # set/clear should be using the HOST id as the value in the table. 592 # self.ippToPspsDb.clearIngestedBoxes() 589 # clear the 'ingested' field for all boxes owned by this host 590 self.ippToPspsDb.clearIngestedBoxes(self.scratchDb.dbHost) 593 591 592 print "*******************************************************************************" 593 self.logger.warning("about to delete detection table and re-ingest; is this correct?") 594 response = raw_input("(y/n) ") 595 if response != "y": 596 raise 597 self.logger.warning("Are you ABSOLUTELY sure you want to do this?") 598 response = raw_input("(y/n) ") 599 if response != "y": 600 raise 601 594 602 # drop detections table 595 603 self.logger.infoPair("Dropping table", self.scratchDb.dvoDetectionTable) … … 644 652 ## dvopsps can take a very long time. try 2 or 3 times to re-establish communication with the db before proceeding? 645 653 646 self.ippToPspsDb.setIngestedBox(boxId )654 self.ippToPspsDb.setIngestedBox(boxId, self.scratchDb.dbHost) 647 655 648 656 # add fileID column
Note:
See TracChangeset
for help on using the changeset viewer.
