Ignore:
Timestamp:
05/03/10 14:25:23 (11 years ago)
Author:
sdonegan
Message:

roundup updates - ingestion working well

File:
1 edited

Legend:

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

    r6660 r6685  
    215215                logging.info("Data type not text or vector!") 
    216216                 
    217                 if len(columnValue[0]) > 1: 
     217                if len(columnValue[0]) == 0: 
     218                        newColVal = "null" 
     219                elif len(columnValue[0]) > 1: 
    218220                        logging.warn("NOTE: " + columnName + " is attempting to add multiple values - just take first for now!") 
    219221                        newColVal = columnValue[0][0] 
Note: See TracChangeset for help on using the changeset viewer.