]> code.ossystems Code Review - openembedded-core.git/commit
toaster.bbclass: fix TypeError when parsing build stats
authorElliot Smith <elliot.smith@intel.com>
Tue, 22 Dec 2015 16:06:56 +0000 (16:06 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 22 Dec 2015 16:15:31 +0000 (16:15 +0000)
commit8e2475eecafc0161d25684f5b8239273739de759
treef6f0520ec18cbaf6a50d8f62b431a51fe00de0f8
parentcad52140997e86c6fee4938369dfce21767f1a63
toaster.bbclass: fix TypeError when parsing build stats

Reading IO stats fails because the IO read/write bytes are
being converted to strings, then added to a numeric running
total.

Fix this by converting IO stats to integers.

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/toaster.bbclass