Ignore:
Timestamp:
20/10/09 10:37:37 (11 years ago)
Author:
sdonegan
Message:

Fixed bug so handles special chars in dataset title and handling of invalid keyword args

File:
1 edited

Legend:

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

    r5524 r5846  
    5454        self.docType = docType.upper()     
    5555         
    56         self.dataset_name = datasetName 
    57         self.dataset_lastEdit = datasetLastEditUpdateDate 
    58         self.datacentre_name = datacentreName 
     56        #make sure we escape any special characters in this field... SJD 20/10/09         
     57        self.dataset_name = self.escapeSpecialCharacters(datasetName) 
     58        self.datacentre_name = self.escapeSpecialCharacters(datacentreName) 
     59         
     60        self.dataset_lastEdit = datasetLastEditUpdateDate     
    5961        self.datasetStartNom = datasetStartDateNom 
    6062        self.datasetEndNom = datasetEndDateNom 
Note: See TracChangeset for help on using the changeset viewer.