IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 8, 2011, 2:48:55 PM (15 years ago)
Author:
rhenders
Message:

config XML doc now passed-in; using new logging method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/scratchdb.py

    r31804 r31841  
    1919    Constructor
    2020    '''
    21     def __init__(self, logger, useFull=0):
    22         super(ScratchDb, self).__init__(logger,"localdatabase")
     21    def __init__(self, logger, doc, useFull=0):
     22        super(ScratchDb, self).__init__(logger, doc, "localdatabase")
    2323
    2424        if useFull:
     
    158158    def createDvoTables(self):
    159159
    160         self.logger.info("Creating DVO meta and detection tables")
     160        self.logger.infoPair("Creating DVO table", "dvoMeta")
    161161
    162162        sql = "DROP TABLE dvoMeta"
     
    181181            self.logger.error("Unable to create DVO meta-data database table")
    182182
     183        self.logger.infoPair("Creating DVO table", "dvoDetection")
    183184        sql = "CREATE TABLE dvoDetection ( \
    184185               sourceID INT, \
Note: See TracChangeset for help on using the changeset viewer.