From bde27cab571915fc80bcd44cf4a0c85b0edd5147 Mon Sep 17 00:00:00 2001 From: david-sarah Date: Tue, 18 May 2010 18:27:13 -0700 Subject: [PATCH] SFTP: remove another case where we were logging data. --- src/allmydata/frontends/sftpd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2