summaryrefslogtreecommitdiff
path: root/tools/moveconfig.py
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2017-08-27 20:00:51 +1200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-10-15 18:13:13 +0900
commitce3ba458a84390882c0882b28736d44e3025cf11 (patch)
treede57940cc07249456e54771dd6aec962e3514c73 /tools/moveconfig.py
parentf855a7bc12dc3bdf83905b4c72a6d795ee8d8ee5 (diff)
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 <judge.packham@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'tools/moveconfig.py')
-rwxr-xr-xtools/moveconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/moveconfig.py b/tools/moveconfig.py
index e3116461bad..bdd4899fcd7 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)