Changeset 38837 for trunk/ippToPsps/jython/setupScratchDb.py
- Timestamp:
- Oct 10, 2015, 12:40:44 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/setupScratchDb.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/setupScratchDb.py
r35178 r38837 88 88 self.logger.infoPair("Installing", "initialization tables") 89 89 tablepath = self.config.configDir + "tables.IN.vot" 90 tables = stilts.treads(tablepath) 90 try: 91 tables = stilts.treads(tablepath) 92 except Exception, e: 93 print "--- problem reading tables.IN.vot" 94 print "--- " + str(e) 95 os._exit(3) 91 96 92 97 for table in tables: … … 94 99 self.logger.infoPair("Creating IN table: ", table.name) 95 100 self.logger.debug("Creating IN table: " + table.name) 96 table.write(self.scratchDb.url + '#' + table.name) 101 try: table.write(self.scratchDb.url + '#' + table.name) 102 except Exception, e: print "--- " + str(e) 97 103 98 104 # create basic DVO tables
Note:
See TracChangeset
for help on using the changeset viewer.
