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

Clean up typo from cdc6c52

This commit is contained in:
James Cammarata 2015-09-25 16:58:27 -04:00
parent cdc6c5208e
commit bb1101498d

View file

@ -154,13 +154,13 @@ class UnsafeProxy(object):
def _wrap_dict(v):
for k in v.keys():
if v[k] is not None and not isinstance(v[k], UnsafeProxy):
v[k] = _wrap_var(v[k])
v[k] = wrap_var(v[k])
return v
def _wrap_list(v):
for idx, item in enumerate(v):
if item is not None and not isinstance(item, UnsafeProxy):
v[idx] = _wrap_var(item)
v[idx] = wrap_var(item)
return v
def wrap_var(v):