Changeset 4103 for cows/trunk/cows


Ignore:
Timestamp:
05/08/08 11:42:34 (11 years ago)
Author:
spascoe
Message:

Incorrect indenting

File:
1 edited

Legend:

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

    r4102 r4103  
    447447            raise InvalidParameterValue('Layer %s does not support GetFeatureInfo in format %s' %(layerName, format), 'info_format') 
    448448 
    449             if version == '1.1.1': 
    450                 srs = self.getOwsParam('srs') 
    451             else: 
    452                 srs = self.getOwsParam('crs') 
    453  
    454             if srs not in layerObj.crss: 
    455                 raise InvalidParameterValue('Layer %s does not support SRS %s' % 
    456                                                 (layerName, srs)) 
     449        if version == '1.1.1': 
     450                srs = self.getOwsParam('srs') 
     451        else: 
     452            srs = self.getOwsParam('crs') 
     453 
     454        if srs not in layerObj.crss: 
     455            raise InvalidParameterValue('Layer %s does not support SRS %s' % 
     456                                        (layerName, srs)) 
    457457 
    458458        # Dimension handling 
Note: See TracChangeset for help on using the changeset viewer.