Commit bb110149 by James Cammarata

Clean up typo from cdc6c520

parent cdc6c520
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment