SFTP: fix silly bug in _sync_heisenfiles ('f is not ignore' vs 'not (f is ignore)').

This commit is contained in:
david-sarah 2010-05-29 22:38:07 -07:00
parent b9d3cf12b8
commit 51b0d8bde3

View 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()