Changeset 7012


Ignore:
Timestamp:
14/06/10 12:18:27 (9 years ago)
Author:
sdonegan
Message:

fixed small bug regarding error line printing

File:
1 edited

Legend:

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

    r6956 r7012  
    759759                                 
    760760                                #record all problem messages 
    761                                 ingestProbMsg = ingestProbMsg + self.ingestProblemMessage + "\n" 
    762                                  
     761                                #ingestProbMsg = ingestProbMsg + self.ingestProblemMessage + "\n" 
     762                                if self.ingestProblemMessage != '': 
     763                                        ingestProbMsg = ingestProbMsg + self.ingestProblemMessage 
     764                                         
    763765                                #remove this filename from the list of files for this DC already in list (whats left over is to be deleted)  
    764766                                if (thisIngestedID != "") and (len(filesPresentList) != 0): 
     
    808810                 
    809811                if len(self.badXMLfileList.keys()) > 0: 
    810                         message = message +  "\nBelow are the files that coould not be parsed (i.e. bad XML?)...\n\n" 
     812                        message = message +  "\nBelow are the files that could not be parsed (i.e. bad XML?)...\n\n" 
    811813                        for badXmlFile in self.badXMLfileList.values(): 
    812814                                message = message + "BAD_XML_FILE " + badXmlFile +"\n" 
Note: See TracChangeset for help on using the changeset viewer.