small python3 fix so that ping will run on python3

This commit is contained in:
Toshio Kuratomi 2016-05-10 21:56:19 -07:00
parent accf40d8a8
commit 99e3880181

View file

@ -1175,7 +1175,7 @@ class AnsibleModule(object):
return aliases_results
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 not self.supports_check_mode: