swift-bench appears to by a python2 script with a python3 shebang

Bug #1902951 reported by David Ames
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
swift-bench (Ubuntu)
New
Undecided
Unassigned

Bug Description

swift-bench on Focal appears to by a python2 script with a python3 shebang

ii swift-bench 1.2.0-5 all benchmarking tool for Swift

SyntaxWarning: "is not" with a literal. Did you mean "!="?

# swift-bench
/usr/bin/swift-bench:152: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if options.concurrency is not '':
Usage: swift-bench [OPTIONS] [CONF_FILE]

# head /usr/bin/swift-bench
#!/usr/bin/python3
# Copyright (c) 2010-2012 OpenStack Foundation

The script needs to be updated to python3 syntax.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.