Ignore:
Timestamp:
18/07/07 11:22:50 (13 years ago)
Author:
domlowe
Message:

moving the passwordFile and configFile variables so they respect %(here)s - needed to start paster from /etc/init.d at boot up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/ndgRetrieve.py

    r2694 r2736  
    22import cgi,time 
    33from Utilities import myConfig 
    4  
     4from paste.deploy import CONFIG 
    55 
    66debug=0 
     
    2323            return 0,'The uri [%s] is not available on [%s]'%(uri,server) 
    2424        er=config.get('NDG_EXIST',uri.repository) 
    25         pwf=config.get('DEFAULT','passwordFile') 
     25         
     26        #Changes by Dom: 
     27        #pwf=config.get('DEFAULT','passwordFile')   
     28        #passwordFile is now in development.ini, moved from ndgDiscovery.config 
     29        pwf=cf= CONFIG['app_conf']['passwordFile'] 
    2630        ws=DocumentRetrieve.DocumentRetrieve(er,pwfile=pwf) 
    2731        return 1,ws 
Note: See TracChangeset for help on using the changeset viewer.