--- cdli/cdli_files.py 2006/06/13 20:42:47 1.20 +++ cdli/cdli_files.py 2006/06/13 20:59:56 1.21 @@ -1325,6 +1325,7 @@ class CDLIFileFolder(versionedFileFolder #_v_xmltrans.run() else: + #recover thread, if lost if not hasattr(self,'_v_uploadATF'): for thread in threading.enumerate(): if threadName == thread.getName(): @@ -1383,7 +1384,12 @@ class CDLIFileFolder(versionedFileFolder #_v_xmltrans.run() else: - + #recover thread, if lost + if not hasattr(self,'_v_uploadATF'): + for thread in threading.enumerate(): + if threadName == thread.getName(): + self._v_uploadATF=thread + if hasattr(self,'_v_uploadATF') and (self._v_uploadATF is not None) and (not self._v_uploadATF.end) : wait_template=self.aq_parent.ZopeFind(self.aq_parent,obj_ids=['wait_template'])