ajack       2004/05/15 14:53:03

  Modified:    python/gump/utils sync.py
  Log:
  Name typo. reason != reasonString.
  
  Revision  Changes    Path
  1.16      +5 -1      gump/python/gump/utils/sync.py
  
  Index: sync.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/utils/sync.py,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- sync.py   15 May 2004 18:16:11 -0000      1.15
  +++ sync.py   15 May 2004 21:53:03 -0000      1.16
  @@ -104,11 +104,15 @@
           return self.actionsOccured
           
       def outputAction(self,type,file,reason=''):
  +        
  +        # Mark something happened..
           self.actionsOccured=1
  +        
  +        # Log it (if requested)
           if self.outputStream:
               reasonSep=''
               if reason: reasonSep=' - '
  -            self.outputStream.write('%s : %s%s%s\n' % ( type , str(file), 
reasonSep, reasonString ))
  +            self.outputStream.write('%s : %s%s%s\n' % ( type , str(file), 
reasonSep, reason ))
           
       def isCopy(self): return (COPY_ACTION == self.action)
       def isSync(self): return (SYNC_ACTION == self.action)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to