From 71934a118c4642a3ca49d3aac85f68cb625573e5 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Mon, 26 Jan 2015 22:04:51 -0800 Subject: [PATCH] Another place that needs to be json_dict_bytes_to_unicode Conflicts: v2/ansible/inventory/script.py --- lib/ansible/inventory/script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/inventory/script.py b/lib/ansible/inventory/script.py index c599791e7d9..6301d318793 100644 --- a/lib/ansible/inventory/script.py +++ b/lib/ansible/inventory/script.py @@ -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))