Changeset 4906


Ignore:
Timestamp:
04/02/09 11:17:36 (11 years ago)
Author:
spascoe
Message:

replacing ows_server config-option prefix with cows. Keep the old one as a backup for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/pylons/ows_controller.py

    r4614 r4906  
    173173    """ 
    174174    # Load the basic ServiceMetadata from a config file 
    175     configFile = config.get('ows_server.capabilities_config') 
     175    try: 
     176        configFile = config['cows.capabilities_config'] 
     177    except KeyError: 
     178        configFile = config.get('ows_server.capabilities_config') 
    176179    if configFile is None: 
    177180        raise RuntimeError('No OWS configuration file') 
Note: See TracChangeset for help on using the changeset viewer.