--- ECHO_content/ECHO_xslt.py 2008/12/17 12:02:53 1.21 +++ ECHO_content/ECHO_xslt.py 2008/12/17 12:12:27 1.22 @@ -108,6 +108,7 @@ from ZODB.FileStorage import FileStorage class ECHO_cache: def __init__(self): """init the storage""" + try: self.storage=FileStorage(os.path.join(INSTANCE_HOME,"var/echo_cache.fs")) @@ -116,6 +117,7 @@ class ECHO_cache: self.root=self.connection.root() except: pass + def deleteObject(self,name,pn=None): """delete an object from cache""" fileStore=self.root.get(name,None)