validate_modules: added missing single quote (#70744)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2020-07-20 19:56:17 +05:30 committed by GitHub
parent cf217178c7
commit c1402ddee0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1905,7 +1905,7 @@ class ModuleValidator(Validator):
doc_type = doc_options_arg.get('type', 'str')
data_elements = data.get('elements', None)
if (doc_elements and not doc_type == 'list'):
msg = "Argument '%s " % arg
msg = "Argument '%s' " % arg
if context:
msg += " found in %s" % " -> ".join(context)
msg += " defines parameter elements as %s but it is valid only when value of parameter type is list" % doc_elements