From 51b0d8bde386ae88434c57a630aec0e02be485ca Mon Sep 17 00:00:00 2001 From: david-sarah Date: Sat, 29 May 2010 22:38:07 -0700 Subject: [PATCH] SFTP: fix silly bug in _sync_heisenfiles ('f is not ignore' vs 'not (f is ignore)'). --- 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 5c62f9d6..9115dcb1 100644 --- a/src/allmydata/frontends/sftpd.py +++ b/src/allmydata/frontends/sftpd.py @@ -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() -- 2.45.2