Fix syntaxerror in the required_if arg spec check

pull/4420/head
Toshio Kuratomi 2015-05-26 11:28:30 -07:00
parent 7c6ebcab6d
commit 0f23d8a503
1 changed files with 1 additions and 1 deletions

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