bootchart icon indicating copy to clipboard operation
bootchart copied to clipboard

Fixup python warnings

Open xrmx opened this issue 3 years ago • 0 comments

/bootchart/pybootchartgui/parsing.py:101: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if pid is 0:
/bootchart/pybootchartgui/draw.py:511: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if (OPTIONS.show_pid or OPTIONS.show_all) and ipid is not 0:
/bootchart/pybootchartgui/draw.py:609: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if i is not 0:

xrmx avatar Feb 10 '21 13:02 xrmx