]> 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>
Thu, 8 Dec 2016 10:26:12 +0000 (10:26 +0000)
commit103faae78cdff5280c7b7cdb7ca01e0868d02ec9
tree1d77bc65d049d879dd9fbca8c100fc612d5ae85f
parent8c85ffa135d96df6e3ed0b318e4e7db570e53da5
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.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/recipetool/create_buildsys_python.py