diff options
author | Markus Klotzbuecher <mk@mkio.de> | 2020-02-12 20:46:45 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-02-25 13:46:25 -0500 |
commit | 4f5c5e99bb5cd6b8aacee3a4900edbc406dbb813 (patch) | |
tree | 71ddf4aa9f9d8901b857d5006879c50880fa05d0 | |
parent | b3192f48c19c15d37ba69722b2846de4b73b27cd (diff) | |
download | u-boot-4f5c5e99bb5cd6b8aacee3a4900edbc406dbb813.zip u-boot-4f5c5e99bb5cd6b8aacee3a4900edbc406dbb813.tar.gz u-boot-4f5c5e99bb5cd6b8aacee3a4900edbc406dbb813.tar.bz2 |
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>
-rwxr-xr-x | tools/moveconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/moveconfig.py b/tools/moveconfig.py index df20ec6..d8bf7fd 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): |