aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMarkus Klotzbuecher2020-02-12 20:46:45 +0100
committerTom Rini2020-02-25 13:46:25 -0500
commit4f5c5e99bb5cd6b8aacee3a4900edbc406dbb813 (patch)
tree71ddf4aa9f9d8901b857d5006879c50880fa05d0 /tools
parentb3192f48c19c15d37ba69722b2846de4b73b27cd (diff)
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: Markus 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 <sjg@chromium.org>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/moveconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/moveconfig.py b/tools/moveconfig.py
index df20ec66af5..d8bf7fd0717 100755
--- a/tools/moveconfig.py
+++ b/tools/moveconfig.py
@@ -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):