From: david-sarah Date: Sun, 30 May 2010 05:00:00 +0000 (-0700) Subject: SFTP: fix bug in previous logging patch. X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/FOOURL?a=commitdiff_plain;h=c4a8af4d27ae120413786777f25c5f4a947798f3;p=tahoe-lafs%2Ftahoe-lafs.git SFTP: fix bug in previous logging patch. --- diff --git a/src/allmydata/frontends/sftpd.py b/src/allmydata/frontends/sftpd.py index 368f91cc..0c64923c 100644 --- a/src/allmydata/frontends/sftpd.py +++ b/src/allmydata/frontends/sftpd.py @@ -1092,7 +1092,7 @@ class SFTPUserHandler(ConchUser, PrefixingLogMixin): if f is not ignore: def _sync(ign): if noisy: self.log("_sync %r in %r" % (f, request), level=NOISY) - f.sync() + return f.sync() d.addBoth(_sync) def _done(ign):