projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8b096a
)
SFTP: remove another case where we were logging data.
author
david-sarah
<david-sarah@jacaranda.org>
Wed, 19 May 2010 01:27:13 +0000
(18:27 -0700)
committer
david-sarah
<david-sarah@jacaranda.org>
Wed, 19 May 2010 01:27:13 +0000
(18:27 -0700)
src/allmydata/frontends/sftpd.py
patch
|
blob
|
history
diff --git
a/src/allmydata/frontends/sftpd.py
b/src/allmydata/frontends/sftpd.py
index 08f2ae039eea6ca4e9fc609ec56443c5cf2eaf27..d68eeca259e2b65d60eb4df6abc50dd6700be73c 100644
(file)
--- 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,
<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