Changeset 2980 for TI05-delivery


Ignore:
Timestamp:
02/11/07 10:16:06 (12 years ago)
Author:
lawrence
Message:

Fix for failure to find passwords ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/discovery.py

    r2976 r2980  
    2020        ''' Common setup for controller methods ''' 
    2121        self.cf=request.environ['ndgConfig'] 
    22         self.exist=self.cf.get('NDG_EXIST','local') 
     22        self.exist=(self.cf.get('NDG_EXIST','local'),self.cf.get('NDG_EXIST','passwordFile')) 
    2323        self.inputs=dict(parse_querystring(request.environ)) 
    2424        self.message='' 
     
    128128            ws=NS.ndgSearch(logger=logger) 
    129129        elif self.inputs['searchTarget'] in ['Browse','NumSim']: 
    130             ws=DR(self.exist) 
     130            ws=DR(self.exist[0],pwfile=self.exist[1]) 
    131131            #overriding text target which is ignored currently ... yuck ... 
    132132            textTarget=self.inputs['searchTarget'] 
Note: See TracChangeset for help on using the changeset viewer.