Another place that needs to be json_dict_bytes_to_unicode

Conflicts:
	v2/ansible/inventory/script.py
release1.8.3
Toshio Kuratomi 10 years ago committed by James Cammarata
parent 1771413c23
commit 71934a118c

@ -144,7 +144,7 @@ class InventoryScript(object):
if out.strip() == '':
return dict()
try:
return json_dict_unicode_to_bytes(utils.parse_json(out))
return json_dict_bytes_to_unicode(utils.parse_json(out))
except ValueError:
raise errors.AnsibleError("could not parse post variable response: %s, %s" % (cmd, out))

Loading…
Cancel
Save