Ignore:
Timestamp:
30/11/07 15:09:59 (12 years ago)
Author:
domlowe
Message:

fixed double escaping bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml/csmllibs/csmlfeaturetypes.py

    r3065 r3089  
    4949        try: 
    5050            descName=DI.getVariableAttribute('long_name') 
    51             descName  
    5251        except AttributeError: 
    53             descName = "missing name" 
    54         descName=descName.replace('&','&') #remove ampersands TODO- extend this 
     52            descName = "missing description" 
    5553        return descName 
    5654     
     
    246244        feature.name=csml.parser.csString(varName) 
    247245        desc = self._getDescriptiveName(self.DI) 
     246 
    248247        feature.description=csml.parser.csString(desc) 
    249          
     248 
    250249    def __getGMLRangeset(self,varName): 
    251250        #GML RANGESET 
Note: See TracChangeset for help on using the changeset viewer.