- Timestamp:
- Dec 2, 2011, 11:45:13 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/ippToPsps/jython/republishbatch.py
r32497 r32852 11 11 12 12 ''' 13 A program that republishes a bath to the datastore. 13 14 15 It first 'resets' the batch in the ippToPsps database, i.e. pretends it has never been published, then re-publishes it to the datastore 14 16 ''' 15 17 if len(sys.argv) > 2: … … 50 52 logger.infoPair("subdir", subDir) 51 53 logger.infoPair("tarballfile", tarballFile) 54 logger.infoPair("Reseting batch in database", "%d" % BATCHID) 55 ippToPspsDb.resetBatch(BATCHID) 52 56 logger.infoPair("publishing to", DATASTOREPRODUCT) 53 57 Batch.publishToDatastore(datastore, BATCHID, batchName, subDir, tarballFile)
Note:
See TracChangeset
for help on using the changeset viewer.
