]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/cmd/ftp.py
pylint: enable consider-using-in
[bup.git] / lib / bup / cmd / ftp.py
index 33fd8046407b46636579971bd818071796405e59..4694dd95bc596484e30da2e26924b3e12c6cab55 100755 (executable)
@@ -226,7 +226,7 @@ def main(argv):
                                 with open(name, 'wb') as destfile:
                                     log('Saving %s\n' % path_msg(name))
                                     write_to_file(srcfile, destfile)
-            elif cmd == b'help' or cmd == b'?':
+            elif cmd in (b'help', b'?'):
                 out.write(b'Commands: ls cd pwd cat get mget help quit\n')
                 out.flush()
             elif cmd in (b'quit', b'exit', b'bye'):