From: david-sarah Date: Wed, 19 May 2010 01:27:13 +0000 (-0700) Subject: SFTP: remove another case where we were logging data. X-Git-Tag: trac-4400~20 X-Git-Url: https://git.rkrishnan.org/frontends/%3C?a=commitdiff_plain;h=bde27cab571915fc80bcd44cf4a0c85b0edd5147;p=tahoe-lafs%2Ftahoe-lafs.git SFTP: remove another case where we were logging data. --- diff --git a/src/allmydata/frontends/sftpd.py b/src/allmydata/frontends/sftpd.py index 08f2ae03..d68eeca2 100644 --- a/src/allmydata/frontends/sftpd.py +++ b/src/allmydata/frontends/sftpd.py @@ -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, )" % (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