IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 2, 2011, 11:45:13 AM (15 years ago)
Author:
eugene
Message:

merge changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/ippToPsps/jython/republishbatch.py

    r32497 r32852  
    1111
    1212'''
     13A program that republishes a bath to the datastore.
    1314
     15It first 'resets' the batch in the ippToPsps database, i.e. pretends it has never been published, then re-publishes it to the datastore
    1416'''
    1517if len(sys.argv) > 2:
     
    5052logger.infoPair("subdir", subDir)
    5153logger.infoPair("tarballfile", tarballFile)
     54logger.infoPair("Reseting batch in database", "%d" % BATCHID)
     55ippToPspsDb.resetBatch(BATCHID)
    5256logger.infoPair("publishing to", DATASTOREPRODUCT)
    5357Batch.publishToDatastore(datastore, BATCHID, batchName, subDir, tarballFile)
Note: See TracChangeset for help on using the changeset viewer.