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>
This commit is contained in:
Flavio Ceolin 2019-04-19 22:24:09 -07:00 committed by Anas Nashif
parent 291c06e1b4
commit bf878ced12

View file

@ -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