From: david-sarah Date: Sun, 30 May 2010 05:38:07 +0000 (-0700) Subject: SFTP: fix silly bug in _sync_heisenfiles ('f is not ignore' vs 'not (f is ignore)'). X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/%22doc.html/readonly?a=commitdiff_plain;h=51b0d8bde386ae88434c57a630aec0e02be485ca;p=tahoe-lafs%2Ftahoe-lafs.git SFTP: fix silly bug in _sync_heisenfiles ('f is not ignore' vs 'not (f is ignore)'). --- 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()