Commit 4f5c5e99bb5cd6b8aacee3a4900edbc406dbb813
Committed by
Tom Rini
1 parent
b3192f48c1
Exists in
smarc_8mq_lf_v2020.04
and in
9 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
tools/moveconfig.py
... | ... | @@ -1217,7 +1217,7 @@ |
1217 | 1217 | "Failed to process.\n") |
1218 | 1218 | if self.options.verbose: |
1219 | 1219 | self.log += color_text(self.options.color, COLOR_LIGHT_CYAN, |
1220 | - self.ps.stderr.read()) | |
1220 | + self.ps.stderr.read().decode()) | |
1221 | 1221 | self.finish(False) |
1222 | 1222 | |
1223 | 1223 | def do_defconfig(self): |