]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
eventreplay: fix event loading code
authorEd Bartosh <ed.bartosh@linux.intel.com>
Wed, 6 Jul 2016 11:00:31 +0000 (12:00 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Jul 2016 08:57:06 +0000 (09:57 +0100)
commita55c280c167f84caed6518119246e5a55f56cfd4
tree5710dc583c55adbc9daca37eaab12c3f783a625e
parent2e09074c70e89402de8f883dd402cd729118fc7e
eventreplay: fix event loading code

Event objects are represented by base64-encoded strings in
the event file and can't be loaded by existing eventreplay code.

Fixed the code of loading events from file by decoding base64 strings
into the binary form and loading them with pickle.load.

[YOCTO #9585]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bin/toaster-eventreplay