Changeset 5603 for TI01-discovery


Ignore:
Timestamp:
12/08/09 10:05:03 (10 years ago)
Author:
sdonegan
Message:

small update to reporting

File:
1 edited

Legend:

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

    r5602 r5603  
    129129                         
    130130                        if numfilesproc != 0: 
    131                                 reportLine = " Successfully obtained " + no.localID + "from feed and ingested document into database" 
     131                                reportLine = " Successfully obtained " + no.localID + "from feed and ingested document into database\n" 
    132132                        else: 
    133                                 reportLine = " Could NOT obtain " + no.localID + "from feed ! (check eXist ATOM feed...?)" 
     133                                reportLine = " Could NOT obtain " + no.localID + "from feed ! (check eXist ATOM feed...?)\n" 
    134134                                                 
    135135                except: 
    136                         reportLine =  " Error encountered : " + difFilename + " from feed (id = " + no.localID + " )" 
    137                          
    138                         logging.error(str(time.asctime()) + " Could not ingest: " + difFilename + " (id = " + no.localID + " )" ) 
     136                        reportLine =  " Error encountered : " + difFilename + " from feed (id = " + no.localID + " )\n" 
     137                         
     138                        logging.error(str(time.asctime()) + " Could not ingest: " + difFilename + " (id = " + no.localID + " )") 
    139139                         
    140140                 
Note: See TracChangeset for help on using the changeset viewer.