gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject cvs commit: gump/python/gump/utils sync.py
Date Sat, 15 May 2004 21:53:03 GMT
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: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Mime
View raw message