Ignore:
Timestamp:
31/07/09 15:08:01 (10 years ago)
Author:
sdonegan
Message:

Adjust messaging so FULL report is made available to info editor for email

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/branches/ingestAutomation-upgrade/OAIBatch/Utilities.py

    r5537 r5542  
    260260        et=loadET(xml) 
    261261        helper=nsdumb(et) 
    262         if self._datacentre_format=='DIF': 
     262        if ((self._datacentre_format=='DIF') or (self._datacentre_format=='dif')): 
    263263            #return helper.getText(et,'Entry_ID') 
    264264            self.datasetID=helper.getText(et,'Entry_ID') 
     
    269269            self.datasetEndDateNom = helper.getText(et,'Temporal_Coverage/Stop_Date') 
    270270             
     271            #Fudge to get around some DC's using "entry_title" and others "dataset_title".  grrr. 
     272            if self.datasetName == '': 
     273             self.datasetName == helper.getText(et,'Entry_Title') 
     274                 
    271275            #TODO amend this - just a fudge to ingest records from crappy badc/neodc whilst pipeline down;.. 
    272276            if self.datasetEndDateNom == '': 
Note: See TracChangeset for help on using the changeset viewer.