--- ECHO_content/ECHO_xslt.py 2006/10/19 07:27:59 1.16 +++ ECHO_content/ECHO_xslt.py 2007/01/08 17:57:23 1.17 @@ -106,7 +106,15 @@ from ZODB.FileStorage import FileStorage class ECHO_cache: def __init__(self): """init the storage""" - self.storage=FileStorage("/var/tmp/echo_cache.fs") + done=False + i=0 + while not done: + try: + self.storage=FileStorage("/var/tmp/echo_cache%s.fs"%i) + done=True + except: + i+=1 + self.db=DB(self.storage) self.connection=self.db.open() self.root=self.connection.root()