Ignore:
Timestamp:
10/03/08 16:59:09 (12 years ago)
Author:
spascoe
Message:

Type errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/branches/ows_framework-refactor/ows_common/ows_common/pylons/wms_controller.py

    r3574 r3575  
    7878        ows_controller.addOperation('GetContext') 
    7979        ows_controller.addOperation('GetLegend', 
    80                                     formats='image/png') 
     80                                    formats=['image/png']) 
    8181        ows_controller.addOperation('GetInfo') 
    8282        log.debug('Loading capabilities contents') 
     
    107107            # Stuff that should go in the capabilities tree eventually 
    108108            ds.legendSize = layer.legendSize 
    109             ds.legendFormats = 'image/png' 
     109            ds.legendFormats = ['image/png'] 
    110110 
    111111            c.capabilities.contents.datasetSummaries.append(ds) 
Note: See TracChangeset for help on using the changeset viewer.