[U-Boot] [PATCH 5/9] patman: Decode stdout/stderr as utf8, be python 3.x safe
Simon Glass
sjg at chromium.org
Tue Sep 27 02:33:03 CEST 2016
On 26 September 2016 at 08:30, Paul Burton <paul.burton at imgtec.com> wrote:
> In python 3.x reading stdout or stdin will produce a bytestring rather
> than a string. Decode it in CommunicateFilter such that the rest of the
> code can continue to deal with strings. This works fine with python 2.x
> too.
>
> Signed-off-by: Paul Burton <paul.burton at imgtec.com>
> ---
>
> tools/patman/cros_subprocess.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Acked-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list