IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33562 for trunk/ippToPsps


Ignore:
Timestamp:
Mar 16, 2012, 1:00:57 PM (14 years ago)
Author:
rhenders
Message:

fixed bug caused by using local rather than class Dvo object

File:
1 edited

Legend:

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

    r33554 r33562  
    4949        if not self.scratchDb.connected:
    5050            self.logger.errorPair("Cannot connect to a", "scratch database")
    51             exitProgram("no available scratch database")
    5251       
    5352        # create Dvo and Datastore objects
     
    8483
    8584        ret = super(Loader, self).refreshConfig()
    86         try: dvo
    87         except: return ret
    88 
    89         dvo.checkDvoLocation()
     85        try: self.dvo.checkDvoLocation()
     86        except:
     87            self.logger.errorPair("can't check", "dvo.checkDvoLocation()")
     88            return ret
    9089
    9190        return ret
Note: See TracChangeset for help on using the changeset viewer.