From bf878ced127e3ceb3fea344be366f4358f282298 Mon Sep 17 00:00:00 2001 From: Flavio Ceolin Date: Fri, 19 Apr 2019 22:24:09 -0700 Subject: [PATCH] sanitycheck: Fix an error in scan_path exception The function error expects only one parameter. The excpetion handler in scan_path was calling this function with multiple parameters instead of formatting the string. Signed-off-by: Flavio Ceolin --- scripts/sanitycheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sanitycheck b/scripts/sanitycheck index ff3afb331c..d8421463df 100755 --- a/scripts/sanitycheck +++ b/scripts/sanitycheck @@ -1779,7 +1779,7 @@ class TestCase: if _subcases: subcases += _subcases except ValueError as e: - error("%s: can't find: %s", filename, e) + error("%s: can't find: %s" % (filename, e)) return subcases