1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix syntaxerror in the required_if arg spec check

This commit is contained in:
Toshio Kuratomi 2015-05-26 11:28:30 -07:00
parent 31609e1b16
commit d793ed360b

View file

@ -972,7 +972,7 @@ class AnsibleModule(object):
if count == 0:
missing.append(check)
if len(missing) > 0:
self.fail_json(msg="%s is %s but the following are missing: %s" % (key, val, ','.join(missing))
self.fail_json(msg="%s is %s but the following are missing: %s" % (key, val, ','.join(missing)))
def _check_argument_values(self):
''' ensure all arguments have the requested values, and there are no stray arguments '''