From: Chris Packham Date: Sun, 27 Aug 2017 08:00:51 +0000 (+1200) Subject: moveconfig: fix error message in do_autoconf() X-Git-Tag: v2017.11-rc2~54 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ce3ba458a84390882c0882b28736d44e3025cf11;p=u-boot moveconfig: fix error message in do_autoconf() Move the % arch outside the double quote so that the missing toolchain message is displayed correctly. Signed-off-by: Chris Packham Reviewed-by: Simon Glass Signed-off-by: Masahiro Yamada --- diff --git a/tools/moveconfig.py b/tools/moveconfig.py index e3116461ba..bdd4899fcd 100755 --- a/tools/moveconfig.py +++ b/tools/moveconfig.py @@ -1170,7 +1170,7 @@ class Slot: toolchain = self.toolchains.Select(arch) except ValueError: self.log += color_text(self.options.color, COLOR_YELLOW, - "Tool chain for '%s' is missing. Do nothing.\n % arch") + "Tool chain for '%s' is missing. Do nothing.\n" % arch) self.finish(False) return env = toolchain.MakeEnvironment(False)