Changeset 35605 for trunk/ippToPsps/jython/dvo.py
- Timestamp:
- May 29, 2013, 2:30:34 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/dvo.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/dvo.py
r35417 r35605 65 65 if not self.correctDvo: 66 66 print "*******************************************************************************" 67 self.logger.warning("Wrong or no DVO in use. Do you want to reset and use '" + self.skychunk.dvoLocation + "'?") 68 response = raw_input("(y/n) ") 69 if response == "y": 70 self.logger.warning("Are you ABSOLUTELY sure you want to do this?") 71 response = raw_input("(y/n) ") 72 if response == "y": 73 self.resetAllTables() 74 67 self.logger.warning("switching to a new dvo: " + self.skychunk.dvoLocation) 68 # response = raw_input("(y/n) ") 69 # if response == "y": 70 # self.logger.warning("Are you ABSOLUTELY sure you want to do this?") 71 # response = raw_input("(y/n) ") 72 # if response == "y": 73 self.resetAllTables() 75 74 76 75 ''' … … 597 596 self.ippToPspsDb.clearIngestedBoxes(self.scratchDb.dbHost) 598 597 599 ## print "*******************************************************************************" 600 ## self.logger.warning("about to delete detection table and re-ingest; is this correct?") 601 ## response = raw_input("(y/n) ") 602 ## if response != "y": 603 ## raise 604 ## self.logger.warning("Are you ABSOLUTELY sure you want to do this?") 605 ## response = raw_input("(y/n) ") 606 ## if response != "y": 607 ## raise 598 if True: 599 print "*******************************************************************************" 600 self.logger.warning("about to delete detection table and re-ingest; is this correct?") 601 #response = raw_input("(y/n) ") 602 #if response != "y": 603 # raise 604 #self.logger.warning("Are you ABSOLUTELY sure you want to do this?") 605 #response = raw_input("(y/n) ") 606 #if response != "y": 607 # raise 608 608 609 609 # blow away existing dvoDetection table & re-crate
Note:
See TracChangeset
for help on using the changeset viewer.
