Ignore:
Timestamp:
26/01/07 11:57:40 (13 years ago)
Author:
domlowe
Message:

default calendar attribute added, repitition in fileList removed, gml:description fixed

File:
1 edited

Legend:

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

    r2034 r2060  
    6969        self.timeString ='' 
    7070        self.filesinDir = '' 
     71        lastf='' 
    7172        for j in range (0, len(OrderedFileTimeList)): 
    7273            t= OrderedFileTimeList[j][0] 
    7374            f = OrderedFileTimeList[j][1] 
    7475            self.timeString = self.timeString + ' ' + str(t) 
    75             self.filesinDir = self.filesinDir + ' ' + f 
    76      
     76            if f != lastf: 
     77                self.filesinDir = self.filesinDir + ' ' + f 
     78                lastf=f 
     79             
    7780    def _getCorrectExtractType(self): 
    7881        #returns an empty parser file extract object of the correct type. 
     
    172175        feature.id=str(varName) 
    173176        desc = self._getDescriptiveName(self.DI) 
    174         feature.description=desc 
     177        feature.description=csml.parser.csString(desc) 
    175178         
    176179    def __getGMLRangeset(self,varName): 
Note: See TracChangeset for help on using the changeset viewer.