]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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:36 +0000 (16:15 +0000)
commita6f8a3f12ef0a6f7fe4123b8854848a4c6cf94c7
tree5e6d95eec9419d72c8cc927227749a86153c6b2f
parent937b7fd44753fe1cc5a73e0810d02f9c422a0669
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.

(From OE-Core rev: 8e2475eecafc0161d25684f5b8239273739de759)

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