Merge pull request #743 from dbrnz/decode_python3_stdout
Correctly write out a sub-process's `stdout` when using Python 3.
This commit is contained in:
commit
d60abf0ff9
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ class Buildozer(object):
|
|||
ret_stdout.append(chunk)
|
||||
if show_output:
|
||||
if IS_PY3:
|
||||
stdout.write(str(chunk))
|
||||
stderr.write(chunk.decode('utf-8'))
|
||||
else:
|
||||
stdout.write(chunk)
|
||||
if fd_stderr in readx:
|
||||
|
|
Loading…
Reference in a new issue