Commit d793ed36 by Toshio Kuratomi

Fix syntaxerror in the required_if arg spec check

parent 31609e1b
...@@ -972,7 +972,7 @@ class AnsibleModule(object): ...@@ -972,7 +972,7 @@ class AnsibleModule(object):
if count == 0: if count == 0:
missing.append(check) missing.append(check)
if len(missing) > 0: 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): def _check_argument_values(self):
''' ensure all arguments have the requested values, and there are no stray arguments ''' ''' ensure all arguments have the requested values, and there are no stray arguments '''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment