IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 22, 2011, 8:19:51 AM (15 years ago)
Author:
rhenders
Message:

alreadyProcessed() method now taking batch type as a parameter, as of course it always should have

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/ipptopspsdb.py

    r32141 r32162  
    294294    Have we already processed and published this batch?
    295295    '''
    296     def alreadyProcessed(self, stage_id):
     296    def alreadyProcessed(self, batchType, stage_id):
    297297
    298298        sql = "SELECT COUNT(*) \
    299299               FROM batch \
    300300               WHERE stage_id = " + str(stage_id) + " \
     301               AND batch_type = '" + batchType + "' \
    301302               AND processed \
    302303               AND loaded_to_datastore"
Note: See TracChangeset for help on using the changeset viewer.