Public bug reported:

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.

** Affects: swift-bench (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/1902951

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/swift-bench/+bug/1902951/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to