IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 3, 2013, 1:31:54 PM (13 years ago)
Author:
eugene
Message:

instead of creating a new connection to the scratch db for each new object, pass the scratchdb connection down to dvo.py

File:
1 edited

Legend:

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

    r35222 r35223  
    5555       try:
    5656           ## XX pass in the existing connection to scratchDb
    57            self.dvoObjects = DvoObjects(self.logger, self.config, self.skychunk, self.ippToPspsDb, self.scratchDb.dbName)
     57           self.dvoObjects = DvoObjects(self.logger, self.config, self.skychunk, self.ippToPspsDb, self.scratchDb)
    5858       except:
    5959           self.logger.errorPair("Unable to create instance of", "DvoObjects")
Note: See TracChangeset for help on using the changeset viewer.