Ignore:
Timestamp:
03/09/08 10:06:40 (11 years ago)
Author:
spascoe
Message:

Reverted to expecting Genshi 0.4. This requires a different TextTemplate? style.

File:
1 edited

Legend:

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

    r4103 r4163  
    1616 
    1717import Image 
    18 from genshi.template import NewTextTemplate 
     18from genshi.template import TextTemplate 
    1919 
    2020from cows.model.wms import WmsDatasetSummary, Dimension 
     
    7373    def _renderCapabilities(self, version, format): 
    7474        if format == 'application/json': 
    75             t = ows_controller.templateLoader.load('wms_capabilities_json.txt', 
    76                                                    cls=NewTextTemplate) 
     75            t = ows_controller.templateLoader.load('wms_capabilities_json_g04.txt', 
     76                                                   cls=TextTemplate) 
    7777        elif version == '1.1.1': 
    7878            t = ows_controller.templateLoader.load('wms_capabilities_1_1_1.xml') 
Note: See TracChangeset for help on using the changeset viewer.