Changeset 8039 for TI01-discovery-Ingest


Ignore:
Timestamp:
22/12/11 15:37:53 (8 years ago)
Author:
sdonegan
Message:

Sorted end_ingest reporting...

File:
1 edited

Legend:

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

    r8038 r8039  
    969969                        #update ingestLogging                    
    970970                        self.pgc_IngestLog.runSQLCommand(sqlLoggingCmd) 
    971                          
     971                        #import pdb; pdb.set_trace() 
    972972                        #now update problem file log if there are problem files 
    973973                        if self._no_problem_files > 0: 
     
    10021002                        #if process id has been supplied, then update the logging db with a "start_ingest" (only for DPWS ops) 
    10031003                        #import pdb; pdb.set_trace() 
    1004                         if self.procID is None: 
    1005                                 sqlStatusCmd = "select update_ingest_status (%s, 'end_ingest');" %self.ingestProcessID 
    1006                                 self.pgc_IngestLog.runSQLCommand(sqlStatusCmd) 
     1004                        #if self.procID is None: 
     1005                        sqlStatusCmd = "select update_ingest_status (%s, 'end_ingest');" %self.ingestProcessID 
     1006                        self.pgc_IngestLog.runSQLCommand(sqlStatusCmd) 
    10071007                         
    10081008                #update with content from the problem messages recorded 
Note: See TracChangeset for help on using the changeset viewer.