diff options
Diffstat (limited to 'lib/ansible/vars')
-rw-r--r-- | lib/ansible/vars/unsafe_proxy.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ansible/vars/unsafe_proxy.py b/lib/ansible/vars/unsafe_proxy.py index 4238d4d8e5..426410ab61 100644 --- a/lib/ansible/vars/unsafe_proxy.py +++ b/lib/ansible/vars/unsafe_proxy.py @@ -64,7 +64,6 @@ __all__ = ['UnsafeProxy', 'AnsibleUnsafe', 'AnsibleJSONUnsafeEncoder', 'AnsibleJ class AnsibleUnsafe(object): __UNSAFE__ = True - class AnsibleUnsafeText(text_type, AnsibleUnsafe): pass @@ -101,7 +100,7 @@ class AnsibleJSONUnsafeDecoder(json.JSONDecoder): def _wrap_dict(v): for k in v.keys(): if v[k] is not None: - v[k] = wrap_var(v[k]) + v[wrap_var(k)] = wrap_var(v[k]) return v |