From c4a8af4d27ae120413786777f25c5f4a947798f3 Mon Sep 17 00:00:00 2001 From: david-sarah Date: Sat, 29 May 2010 22:00:00 -0700 Subject: [PATCH] SFTP: fix bug in previous logging patch. --- src/allmydata/frontends/sftpd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.45.2