mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-31 15:50:42 +00:00
SFTP: log when a sync completes.
This commit is contained in:
parent
c4a8af4d27
commit
b9d3cf12b8
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user