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:
c4a8af4
)
SFTP: log when a sync completes.
author
david-sarah
<david-sarah@jacaranda.org>
Sun, 30 May 2010 05:18:40 +0000
(22:18 -0700)
committer
david-sarah
<david-sarah@jacaranda.org>
Sun, 30 May 2010 05:18:40 +0000
(22:18 -0700)
src/allmydata/frontends/sftpd.py
patch
|
blob
|
history
diff --git
a/src/allmydata/frontends/sftpd.py
b/src/allmydata/frontends/sftpd.py
index 0c64923cebec74ba70a34faaaa309aefbab128e7..5c62f9d64bd4d735ef1e9079af6d39512d6e60db 100644
(file)
--- a/
src/allmydata/frontends/sftpd.py
+++ b/
src/allmydata/frontends/sftpd.py
@@
-714,6
+714,10
@@
class GeneralSFTPFile(PrefixingLogMixin):
d = defer.Deferred()
self.async.addBoth(eventually_callback(d))
+ def _done(res):
+ if noisy: self.log("_done(%r) in .sync()" % (res,), level=NOISY)
+ return res
+ d.addBoth(_done)
return d
def readChunk(self, offset, length):