small python3 fix so that ping will run on python3

pull/14564/merge
Toshio Kuratomi 9 years ago
parent accf40d8a8
commit 99e3880181

@ -1175,7 +1175,7 @@ class AnsibleModule(object):
return aliases_results return aliases_results
def _check_arguments(self, check_invalid_arguments): def _check_arguments(self, check_invalid_arguments):
for (k,v) in self.params.items(): for (k,v) in list(self.params.items()):
if k == '_ansible_check_mode' and v: if k == '_ansible_check_mode' and v:
if not self.supports_check_mode: if not self.supports_check_mode:

Loading…
Cancel
Save