]> code.ossystems Code Review - openembedded-core.git/commit
pybootchartgui/draw.py: skip empty CPU and disk usage charts
authorPatrick Ohly <patrick.ohly@intel.com>
Wed, 30 Nov 2016 09:50:05 +0000 (10:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Dec 2016 10:36:10 +0000 (10:36 +0000)
commit1658fd5e9ca1ba793cae604c2a395d54e3ec9056
tree4fc1799f1373b2712168df8398c8a653aa1d83c6
parent233d3e50b361feea07803a9c0f2a691e687c6cd5
pybootchartgui/draw.py: skip empty CPU and disk usage charts

The only real change is the addition of two if checks that skips the
corresponding drawing code when there is no data.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/pybootchartgui/pybootchartgui/draw.py