Skip to content
Permalink
Browse files

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 <flavio.ceolin@intel.com>
  • Loading branch information...
ceolin authored and nashif committed Apr 20, 2019
1 parent 291c06e commit bf878ced127e3ceb3fea344be366f4358f282298
Showing with 1 addition and 1 deletion.
  1. +1 −1 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


0 comments on commit bf878ce

Please sign in to comment.
You can’t perform that action at this time.