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>
master
Chris Packham 8 years ago committed by Masahiro Yamada
parent f855a7bc12
commit ce3ba458a8
  1. 2
      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)

Loading…
Cancel
Save