Public bug reported: Everytime I use s3cmd I get this warning /usr/bin/s3cmd:308: SyntaxWarning: "is" with a literal. Did you mean "=="? if response["status"] is 200: /usr/bin/s3cmd:310: SyntaxWarning: "is" with a literal. Did you mean "=="? elif response["status"] is 204:
Issue was reported here https://github.com/s3tools/s3cmd/issues/1055 and seems to be solved in version 2.1.0 ** Affects: s3cmd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1874651 Title: SyntaxWaning on bad equality check To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/s3cmd/+bug/1874651/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs