mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02: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:
parent
37b5d544d3
commit
539ec94f17
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user