diff options
| author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-06-02 13:13:00 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-03 13:13:31 +0100 |
| commit | 3e309e0aad0628abdfb42ab1e63bad194aefa1cc (patch) | |
| tree | ef87ca31dc945b61b9a618c59b06f8b7c065353c /scripts/lib/scriptpath.py | |
| parent | 3af9f6b88fcc5d7fddff01595f9bcf2aba548720 (diff) | |
| download | poky-3e309e0aad0628abdfb42ab1e63bad194aefa1cc.tar.gz | |
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.
(From meta-yocto rev: 1de9d0b4ad289c56907d082748cdc0111988cb4f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions
