Ignore:
Timestamp:
26/02/09 11:55:50 (11 years ago)
Author:
sdonegan
Message:

Debug new ingest classes - previous commit had problems with mdip records.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/tags/stable-TI01-ingestAutomation_Proglue_upgradesAndReporting/temp/OAIBatch/PostgresDAO.py

    r5027 r5040  
    294294        Insert the original metadata doc into the postgres DB 
    295295        ''' 
    296          
    297         logging.info("cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc 1") 
     296        
    298297        logging.info("Inserting new original document in Postgres DB") 
    299298        sqlCmd = "SELECT create_document('" + self._record.shortFilename + "', '" + \ 
     
    303302            self._record.dataset_name + "', '" + self._record.datacentre_name + "', '" + self._record.dataset_lastEdit + "');"  
    304303 
    305         logging.info("SELECT create_document('" + self._record.shortFilename + "', '" + \ 
     304        '''logging.info("SELECT create_document('" + self._record.shortFilename + "', '" + \ 
    306305            self._record.discovery_id + "', '" + self._record.docType + "', '" + \ 
    307306            self._record.originalFormat + "', '" + self._record.getAuthorsInfo() + "', '" + \ 
    308307            self._record.getParametersInfo() + "', '" + self._record.getScopeInfo() + "', '" + \ 
    309             self._record.dataset_name + "', '" + self._record.datacentre_name + "', '" + self._record.dataset_lastEdit + "');" ) 
     308            self._record.dataset_name + "', '" + self._record.datacentre_name + "', '" + self._record.dataset_lastEdit + "');" )''' 
    310309         
    311310        id = db_funcs.runSQLCommand(self._connection, sqlCmd) 
Note: See TracChangeset for help on using the changeset viewer.