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:
parent
291c06e1b4
commit
bf878ced12
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue