Changeset 2894 for TI02-CSML


Ignore:
Timestamp:
18/09/07 15:09:33 (12 years ago)
Author:
domlowe
Message:

sorting bug fixed in csml time ordering

File:
1 edited

Legend:

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

    r2547 r2894  
    174174            print "Could not get time unit info" 
    175175            units ='' 
    176         FileTimeList.sort() 
    177176        #get the reference date for the time reference system. 
    178177        #refTime=DI.getTimeUnits() 
     
    188187                        ftTuple = (uduTime, filelist[j]) 
    189188                        FormattedFileTimeList.append(ftTuple)                    
    190         print  'finished time list' 
     189        FormattedFileTimeList.sort() 
     190        #print  'finished time list'        
    191191        return FormattedFileTimeList, cal,units 
Note: See TracChangeset for help on using the changeset viewer.