]> code.ossystems Code Review - openembedded-core.git/commit
buildstats: Replace 'is' with '==' in python condition check expression
authorKhem Raj <raj.khem@gmail.com>
Sun, 8 Dec 2019 21:42:11 +0000 (13:42 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 15 Dec 2019 09:04:38 +0000 (09:04 +0000)
commitc3cb6bc21f3f84e2ed103b6438516ab85222faa9
tree596f058d18c8148992a371e4c97d75ca100f33d9
parent9119a882adbf19df9f47f66cebaa7f730d3e9462
buildstats: Replace 'is' with '==' in python condition check expression

python 3.8 has started to throw this as a warning but usage is wrong see
[1], it seems to be working by accident and not design.

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

[1]: https://bugs.python.org/issue34850

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildstats.bbclass