]> code.ossystems Code Review - openembedded-core.git/commit
scripts: python3: decode subprocess output
authorEd Bartosh <ed.bartosh@linux.intel.com>
Thu, 2 Jun 2016 10:13:00 +0000 (13:13 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Jun 2016 10:49:50 +0000 (11:49 +0100)
commitae4d36375683b6cfd48af25bfca70b2e77f7ade5
tree578f7d07c097dd604d3d0bc682b2f2f798f43e72
parentbf1b411eb1cd2cc960325d5fdb0cb4f4f7b1e40e
scripts: python3: decode subprocess output

stdeout and stderr content returned by subprocess API has different
types in Python 3(bytes) and Python 2(string). Decoding it to
'utf-8' makes it unicode on both pythons.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/cleanup-workdir
scripts/combo-layer
scripts/oe-selftest