Use correct keyword for this function.
This commit is contained in:
parent
26cdddaebf
commit
d9e0a5ed22
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue