Ignore:
Timestamp:
01/08/07 15:33:41 (13 years ago)
Author:
lawrence
Message:

Improvements in the advanced search page, and a fix for ticket:817 (I
hope, I can't test it on my system).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/Utilities.py

    r2736 r2755  
    7474    def tolist(self): 
    7575        return list(self) 
     76    def remove(self,value): 
     77        try: # python 2.5 
     78            deque.remove(self,value) 
     79        except: # python 2.4 
     80            #yuck, two copies ... 
     81            x=self.tolist() 
     82            x.remove(value) 
     83            self.clear() 
     84            for i in x:self.append(i) 
     85             
    7686 
    7787def wrapGetText(element,xpathExpression,multiple=0): 
Note: See TracChangeset for help on using the changeset viewer.