mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
pybootchartui: Fix python syntax issue
Fix: scripts/pybootchartgui/pybootchartgui/parsing.py:134: SyntaxWarning: "is" with a literal. Did you mean "=="? if pid is 0: (From OE-Core rev: c9a6511ae618035b8efad01646e37ba28ce1e3f8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -131,7 +131,7 @@ class Trace:
|
||||
def compile(self, writer):
|
||||
|
||||
def find_parent_id_for(pid):
|
||||
if pid is 0:
|
||||
if pid == 0:
|
||||
return 0
|
||||
ppid = self.parent_map.get(pid)
|
||||
if ppid:
|
||||
|
||||
Reference in New Issue
Block a user