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

Use correct keyword for this function.

This commit is contained in:
Michael DeHaan 2014-09-11 12:32:51 -04:00
parent 26cdddaebf
commit d9e0a5ed22

View file

@ -43,7 +43,7 @@ class ReturnData(object):
self.diff = diff self.diff = diff
if type(self.result) in [ str, unicode ]: if type(self.result) in [ str, unicode ]:
self.result = utils.parse_json(self.result, from_remote=True, exceptions=False) self.result = utils.parse_json(self.result, from_remote=True, no_exceptions=True)
if self.host is None: if self.host is None:
raise Exception("host not set") raise Exception("host not set")