IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35036


Ignore:
Timestamp:
Jan 23, 2013, 3:05:37 PM (13 years ago)
Author:
eugene
Message:

change scratch db names (needs to be more flexible)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20121219/ippToPsps/jython/loader.py

    r35016 r35036  
    3737        self.gpc1Db = Gpc1Db(self.logger, self.config)
    3838
     39        # XXX this is really bad: need to get these from config... (see this code:)
     40        ## XX # open config and grab database parameters
     41        ## XX if not dbName: self.dbName = config.getDbName(dbType)
     42        ## XX else: self.dbName = dbName
     43
    3944        # connect to scratch database
    40         scratchDbs = ['ipptopsps_scratch', 'ipptopsps_scratch2', 'ipptopsps_scratch3']
     45        scratchDbs = ['ipptopsps_test_scratch', 'ipptopsps_test_scratch2', 'ipptopsps_test_scratch3']
    4146        for dbName in scratchDbs:
    4247            self.scratchDb = ScratchDb(self.logger, self.config, dbName)
Note: See TracChangeset for help on using the changeset viewer.