Changeset 6616


Ignore:
Timestamp:
23/02/10 22:24:39 (10 years ago)
Author:
sdonegan
Message:

Updated to work with latest PostgresDAO

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery-Ingest/trunk/v4n_MEDIN/ingestAutomation-upgrade/OAIBatch/DeleteDatacentreRecords.py

    r5736 r6616  
    103103            record = RecordToDelete(recordFilename,None) 
    104104            logging.info("Getting discoveryId from database for  %s" %recordFilename)      
    105             dao = PostgresDAO(record, self.pgc)               
     105            dao = PostgresDAO(record,None,None, self.pgc)               
    106106            self.createRecordObject(record,dao,recordFilename) 
    107107             
     
    115115                 
    116116                    #check item deleted (note need to reinitialise the record object!) 
    117                     dao = PostgresDAO(record, self.pgc) 
     117                    dao = PostgresDAO(record,None,None, self.pgc) 
    118118                    record = RecordToDelete(recordFilename,None) 
    119119                    self.createRecordObject(record,dao,recordFilename) 
Note: See TracChangeset for help on using the changeset viewer.