xrmx / bootchart

merge of bootchart-collector and pybootchartgui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fixup python warnings

xrmx opened this issue · 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: