Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usertools: fix syntax warning in python 3.8
[ upstream commit e1766e7 ] Silent the following warning when running script with python 3.8: > /usr/bin/dpdk-pmdinfo:542: SyntaxWarning: "is" with a literal. > Did you mean "=="? > if (autoload_path is None or autoload_path is ""): As autoload_path can only be None or a string, directly check its bool value. Fixes: c67c9a5 ("tools: query binaries for HW and other support information") Signed-off-by: Thomas Faivre <thomas.faivre@6wind.com>
- Loading branch information