Diff for /cdli/cdli_files.py between versions 1.35 and 1.36

version 1.35, 2006/07/06 11:03:32 version 1.36, 2006/07/14 14:51:50
Line 1638  class CDLIRoot(Folder): Line 1638  class CDLIRoot(Folder):
                 
             thread=uploadATFThread()              thread=uploadATFThread()
             threadName=thread.getName()[0:]                                              threadName=thread.getName()[0:]                                
             if not hasattr(self,'_v_uploadATF'):              if (not hasattr(self,'_v_uploadATF')):
                    self._v_uploadATF={}                     self._v_uploadATF={}
                                                                                 
             self._v_uploadATF[threadName]=thread              self._v_uploadATF[threadName]=thread
Line 1661  class CDLIRoot(Folder): Line 1661  class CDLIRoot(Folder):
                           
         else:          else:
             #recover thread, if lost              #recover thread, if lost
             if not hasattr(self,'_v_uploadATF'):              if (not hasattr(self,'_v_uploadATF')):
                self._v_uploadATF={}                 self._v_uploadATF={}
             if not self._v_uploadATF.get(threadName,None):              if not self._v_uploadATF.get(threadName,None):
                  for thread in threading.enumerate():                   for thread in threading.enumerate():
Line 1723  class CDLIRoot(Folder): Line 1723  class CDLIRoot(Folder):
         if not threadName or threadName=="":          if not threadName or threadName=="":
             thread=uploadATFfinallyThread()              thread=uploadATFfinallyThread()
             threadName=thread.getName()[0:]              threadName=thread.getName()[0:]
   
             if (not hasattr(self,'_v_uploadATF')):              if (not hasattr(self,'_v_uploadATF')):
                 self._v_uploadATF={}                  self._v_uploadATF={}
   
             self._v_uploadATF[threadName]=thread              self._v_uploadATF[threadName]=thread
   
                   

Removed from v.1.35  
changed lines
  Added in v.1.36


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