]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
SFTP: fix silly bug in _sync_heisenfiles ('f is not ignore' vs 'not (f is ignore)').
authordavid-sarah <david-sarah@jacaranda.org>
Sun, 30 May 2010 05:38:07 +0000 (22:38 -0700)
committerdavid-sarah <david-sarah@jacaranda.org>
Sun, 30 May 2010 05:38:07 +0000 (22:38 -0700)
src/allmydata/frontends/sftpd.py

index 5c62f9d64bd4d735ef1e9079af6d39512d6e60db..9115dcb1946fa84ec7ef8c8c05f2f888569a8f77 100644 (file)
@@ -1093,7 +1093,7 @@ class SFTPUserHandler(ConchUser, PrefixingLogMixin):
 
         d = defer.succeed(None)
         for f in files:
-            if f is not ignore:
+            if not (f is ignore):
                 def _sync(ign):
                     if noisy: self.log("_sync %r in %r" % (f, request), level=NOISY)
                     return f.sync()