]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: fix encoding-related errors creating python recipes
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Sun, 4 Dec 2016 22:11:44 +0000 (11:11 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Jan 2017 11:46:47 +0000 (11:46 +0000)
commitf9e0267a64069fa2488ceb7ca1f6dbe5bfb66c18
tree658aec52e422701f8b1c225bcf542a3356551501
parentba7cfc296b07fe62d46a6c143d9a7d344de9f446
recipetool: fix encoding-related errors creating python recipes

Yet another instance of us expecting a string back from subprocess when
in Python 3 what you get back is bytes. Just decode the output within
run_command() so we avoid this everywhere.

(From OE-Core rev: 103faae78cdff5280c7b7cdb7ca01e0868d02ec9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.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>
scripts/lib/recipetool/create_buildsys_python.py