]> code.ossystems Code Review - openembedded-core.git/commit
scripts: Fix encoding errors for python3
authorEd Bartosh <ed.bartosh@linux.intel.com>
Wed, 18 May 2016 18:57:23 +0000 (21:57 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Jun 2016 07:10:03 +0000 (08:10 +0100)
commit30d02e2aa2d42fdf76271234b2dc9f37bc46b250
tree2894bf5b42b389ef8dc5875163d2368e82534c69
parente8cfab060f4ff3c4c16387871354d407910e87aa
scripts: Fix encoding errors for python3

Moved call of decode('utf-8') as close as possible to
call of subprocess API to avoid calling it in a lot of
other places.

Decoded binary data to utf-8 where appropriate to fix devtool
and recipetool tests in python 3 environment.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
meta/lib/oe/patch.py
scripts/lib/devtool/__init__.py
scripts/lib/recipetool/append.py
scripts/lib/recipetool/create.py
scripts/lib/recipetool/create_buildsys_python.py