]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
SFTP: fix bug in previous logging patch.
authordavid-sarah <david-sarah@jacaranda.org>
Sun, 30 May 2010 05:00:00 +0000 (22:00 -0700)
committerdavid-sarah <david-sarah@jacaranda.org>
Sun, 30 May 2010 05:00:00 +0000 (22:00 -0700)
src/allmydata/frontends/sftpd.py

index 368f91cc4926de22c538172ef1e76bd5bbfe73f0..0c64923cebec74ba70a34faaaa309aefbab128e7 100644 (file)
@@ -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):