SFTP: log when a sync completes.

This commit is contained in:
david-sarah 2010-05-29 22:18:40 -07:00
parent c4a8af4d27
commit b9d3cf12b8

View File

@ -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):