[U-Boot] [PATCH 20/24] binman: Fix up a format string in AssertInList()

Simon Glass sjg at chromium.org
Sat May 18 04:00:50 UTC 2019


Add the missing 's' to the required '%s' here.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

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

diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py
index 48fec501790..d0a8b751a2c 100644
--- a/tools/binman/ftest.py
+++ b/tools/binman/ftest.py
@@ -395,7 +395,7 @@ class TestFunctional(unittest.TestCase):
         for grep in grep_list:
             if grep in target:
                 return
-        self.fail("Error: '%' not found in '%s'" % (grep_list, target))
+        self.fail("Error: '%s' not found in '%s'" % (grep_list, target))
 
     def CheckNoGaps(self, entries):
         """Check that all entries fit together without gaps
-- 
2.21.0.1020.gf2820cf01a-goog



More information about the U-Boot mailing list