+1
−1
Loading
Since v3.8, Python will complain when "is" or "is not" is used to compare some literals (for more details, see [1]). Using regular equality checks gets rid of the following warning: SyntaxWarning: "is not" with a literal. Did you mean "!="? [1] https://docs.python.org/3.8/whatsnew/3.8.html#changes-in-python-behavior Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I631bd79fd7e644b493dbfb0c28c40ce7178e1e4e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19172 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@gmail.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>