Skip to contentSkip to conversation

moveconfig: fix error message in do_autoconf()

PATCH New Chris Packham 3 participants 3 messages Aug 27, 2017 – Oct 15, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 moveconfig: fix error message in do_autoconf()

Move the % arch outside the double quote so that the missing toolchain message is displayed correctly.

---

 tools/moveconfig.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/moveconfig.py +1 -1
index 8a038501929c..45742dc2e6b9 100755
@@ -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)
Signature · 1 line
2.14.1
#2 lore raw

PATCH 1/1 moveconfig: fix error message in do_autoconf()

2017-08-28 5:10 GMT+09:00 Simon Glass <[email protected]>:

Quoted 6 lines

+Tom

Quoted 3 lines · Chris Packham

Move the % arch outside the double quote so that the missing toolchain message is displayed correctly.

Quoted 8 lines
Quoted 5 lines

---

 tools/moveconfig.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

_______________________________________________

I have just noticed this patch had been delegated to me.

Applied to u-boot-uniphier.

Signature · 2 lines
Best Regards
Masahiro Yamada