mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Clean up typo from cdc6c52
This commit is contained in:
@@ -154,13 +154,13 @@ class UnsafeProxy(object):
|
|||||||
def _wrap_dict(v):
|
def _wrap_dict(v):
|
||||||
for k in v.keys():
|
for k in v.keys():
|
||||||
if v[k] is not None and not isinstance(v[k], UnsafeProxy):
|
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
|
return v
|
||||||
|
|
||||||
def _wrap_list(v):
|
def _wrap_list(v):
|
||||||
for idx, item in enumerate(v):
|
for idx, item in enumerate(v):
|
||||||
if item is not None and not isinstance(item, UnsafeProxy):
|
if item is not None and not isinstance(item, UnsafeProxy):
|
||||||
v[idx] = _wrap_var(item)
|
v[idx] = wrap_var(item)
|
||||||
return v
|
return v
|
||||||
|
|
||||||
def wrap_var(v):
|
def wrap_var(v):
|
||||||
|
|||||||
Reference in New Issue
Block a user