]> code.ossystems Code Review - openembedded-core.git/commit
terminal.py: Pass string instead of bytes to ExecutionError to avoid exception
authorMartin Vuille <jpmv27@yahoo.com>
Sun, 27 Nov 2016 20:02:37 +0000 (15:02 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Jan 2017 11:46:45 +0000 (11:46 +0000)
commitdf4d5246d47acc54aa322b777364c9b86f9a4c54
treea4d3387d416fdd8a5ff7247708928fd59b66d21f
parent1e284447b9bf42e1fd6080f5a50fe01c8267a4e6
terminal.py: Pass string instead of bytes to ExecutionError to avoid exception

Based on run() in bitbake/lib/bb/process.py, ExecutionError() expects strings
not bytes. Passing bytes results in a "TypeError: Can't convert 'bytes' object
to str implicitly" exception.

Fixes Bug 10729

(From OE-Core rev: 063b63d4d324c23322ac1b6b7c7928e725d7b968)

Signed-off-by: Martin Vuille <jpmv27@yahoo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/lib/oe/terminal.py