Diff for /cdli/cdli_files.py between versions 1.20 and 1.21

version 1.20, 2006/06/13 20:42:47 version 1.21, 2006/06/13 20:59:56
Line 1325  class CDLIFileFolder(versionedFileFolder Line 1325  class CDLIFileFolder(versionedFileFolder
             #_v_xmltrans.run()              #_v_xmltrans.run()
                           
         else:          else:
               #recover thread, if lost
             if not hasattr(self,'_v_uploadATF'):              if not hasattr(self,'_v_uploadATF'):
                  for thread in threading.enumerate():                   for thread in threading.enumerate():
                          if threadName == thread.getName():                           if threadName == thread.getName():
Line 1383  class CDLIFileFolder(versionedFileFolder Line 1384  class CDLIFileFolder(versionedFileFolder
             #_v_xmltrans.run()              #_v_xmltrans.run()
                   
         else:          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) :              if hasattr(self,'_v_uploadATF') and (self._v_uploadATF is not None) and (not self._v_uploadATF.end) :
   

Removed from v.1.20  
changed lines
  Added in v.1.21


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>