Public bug reported: When running s3cmd, it produces some syntax warnings:
$ s3cmd ls /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: but still appears to work correctly. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: s3cmd 2.0.2-1 ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30 Uname: Linux 5.4.0-26-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu27 Architecture: amd64 CasperMD5CheckResult: skip Date: Sun Apr 26 11:06:03 2020 InstallationDate: Installed on 2017-08-16 (983 days ago) InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412) PackageArchitecture: all ProcEnviron: LANGUAGE=en_GB:en TERM=xterm-256color PATH=(custom, no user) LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: s3cmd UpgradeStatus: Upgraded to focal on 2020-04-12 (13 days ago) ** Affects: s3cmd (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1875116 Title: Syntax warnings for is with a literal To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/s3cmd/+bug/1875116/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs