]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
pybootchartgui: fix 2 SyntaxWarnings
authorMartin Jansa <Martin.Jansa@gmail.com>
Tue, 9 Jan 2024 15:44:49 +0000 (15:44 +0000)
committerSteve Sakoman <steve@sakoman.com>
Tue, 16 Jan 2024 14:10:03 +0000 (04:10 -1000)
commitebd61290a644a6d9f2b3701e0e7ea050636da76c
tree8ca0f9676a05985e89b53484eef1df38d6cda535
parent203804370997eeb015ef9da90b567ea2c2f9f3a6
pybootchartgui: fix 2 SyntaxWarnings

scripts/pybootchartgui/pybootchartgui/draw.py:820: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if (OPTIONS.show_pid or OPTIONS.show_all) and ipid is not 0:
scripts/pybootchartgui/pybootchartgui/draw.py:918: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if i is not 0:

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 8d996616f0ca57220d939a41ca9ba6d696ea2a4f)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
scripts/pybootchartgui/pybootchartgui/draw.py