]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
qemurunner: convert data when working with socket
authorEd Bartosh <ed.bartosh@linux.intel.com>
Mon, 16 May 2016 15:40:39 +0000 (18:40 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Jun 2016 07:10:03 +0000 (08:10 +0100)
commit210e290c9251839dc74e3aabdcea3655dd707a50
treeb99e8e820b68b8c8f6070908e5d485b51bd5403e
parent23c27d9d936efaa17da00525f1d2e2f98c53abc7
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.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/qemurunner.py