diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-05-16 18:40:39 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-02 08:24:01 +0100 |
commit | 63404baadbfd1225bbb955f8c8f817073aef65d8 (patch) | |
tree | eb1f3060a7e8e814bf409079c442d797d0c80500 /scripts/lib/devtool/runqemu.py | |
parent | aa10d71aeed6647a8a979040e4c2b2210bac4334 (diff) | |
download | poky-63404baadbfd1225bbb955f8c8f817073aef65d8.tar.gz |
qemurunner: convert data when working with socket
Converted str to bytes before sending to socket.
Converted bytes to str after receiving from socket.
This should fix TypeError: 'str' does not support the buffer interface
for qemurunner.run_serial method.
(From OE-Core rev: 210e290c9251839dc74e3aabdcea3655dd707a50)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/runqemu.py')
0 files changed, 0 insertions, 0 deletions