swift-bench appears to by a python2 script with a python3 shebang
Bug #1902951 reported by
David Ames
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/
if options.concurrency is not '':
Usage: swift-bench [OPTIONS] [CONF_FILE]
# head /usr/bin/
#!/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.