Commit 4f5c5e99 authored by Markus Klotzbuecher's avatar Markus Klotzbuecher Committed by Tom Rini
Browse files

moveconfig: convert ps.stderr to string



Printing the error message in verbose mode fails, since python3
doesn't implicitely convert bytes to strings.
Signed-off-by: default avatarMarkus Klotzbuecher <mk@mkio.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent b3192f48
......@@ -1217,7 +1217,7 @@ class Slot:
"Failed to process.\n")
if self.options.verbose:
self.log += color_text(self.options.color, COLOR_LIGHT_CYAN,
self.ps.stderr.read())
self.ps.stderr.read().decode())
self.finish(False)
def do_defconfig(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment