Fix invalid argument formatting in the exception message

This is to fix invalid argument formatting in the exception message.

Change-Id: I5b6046b4c54575a0a3cf5f3721bf5813bb1102ad
This commit is contained in:
zhufl 2020-11-23 11:07:05 +08:00
parent 6d1fa48bca
commit eea2f5c790
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ def create_run_cmd(providers, inventories, traits):
elif "resource provider inventory list" in args[1]:
return pop_output(inventories)
else:
raise ValueError("{} not expected", args)
raise ValueError("{} not expected" % args)
return dummy_run_command