Changeset 31934
- Timestamp:
- Jul 25, 2011, 1:53:40 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/batch.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/batch.py
r31920 r31934 332 332 self.logger.exception("Problem writing table '" + table.name + "' to the database") 333 333 334 335 334 self.logger.infoPair("Done. Imported", "%d tables" % count) 336 335 self.indexIppTables() … … 408 407 def getIDsFromDVO(self): 409 408 409 if self.scratchDb.getRowCount("dvoMeta") < 1: 410 self.logger.error("No DVO IDs found in dvoMeta") 411 return False 412 410 413 # TODO path to DVO prog hardcoded temporarily 411 414 cmd = "../src/dvograbber " + self.dvoLocation … … 434 437 def run(self): 435 438 436 if not self.everythingOK: return 439 if not self.everythingOK: 440 self.logger.error("Aborting this batch due to (hopefully) previously reported errors") 441 return 437 442 438 443 self.createEmptyPspsTables()
Note:
See TracChangeset
for help on using the changeset viewer.
