From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Klotzbuecher Date: Wed, 12 Feb 2020 20:46:45 +0100 Subject: [PATCH 2/2] moveconfig: convert ps.stderr to string In-Reply-To: <20200212194645.1765445-1-mk@mkio.de> References: <20200212194645.1765445-1-mk@mkio.de> Message-ID: <20200212194645.1765445-3-mk@mkio.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Printing the error message in verbose mode fails, since python3 doesn't implicitely convert bytes to strings. Signed-off-by: Markus Klotzbuecher Cc: Simon Glass Cc: Tom Rini Cc: Masahiro Yamada --- tools/moveconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index df20ec66af..d8bf7fd071 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): -- 2.25.0