]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
SFTP: remove another case where we were logging data.
authordavid-sarah <david-sarah@jacaranda.org>
Wed, 19 May 2010 01:27:13 +0000 (18:27 -0700)
committerdavid-sarah <david-sarah@jacaranda.org>
Wed, 19 May 2010 01:27:13 +0000 (18:27 -0700)
src/allmydata/frontends/sftpd.py

index 08f2ae039eea6ca4e9fc609ec56443c5cf2eaf27..d68eeca259e2b65d60eb4df6abc50dd6700be73c 100644 (file)
@@ -454,7 +454,7 @@ class OverwriteableFileConsumer(PrefixingLogMixin):
             self.finish()
 
     def overwrite(self, offset, data):
-        if noisy: self.log(".overwrite(%r, %r)" % (offset, data), level=NOISY)
+        if noisy: self.log(".overwrite(%r, <data of length %r>)" % (offset, len(data)), level=NOISY)
         if offset > self.download_size and offset > self.current_size:
             # Normally writing at an offset beyond the current end-of-file
             # would leave a hole that appears filled with zeroes. However, an