Commit 83b0a0ba authored by Evan Simpson's avatar Evan Simpson

Force bound_data to be a dictionary.

parent ea3765d4
...@@ -346,8 +346,9 @@ class Bindings: ...@@ -346,8 +346,9 @@ class Bindings:
bindcode = getattr(self, '_v_bindcode', _marker) bindcode = getattr(self, '_v_bindcode', _marker)
if bindcode is _marker: if bindcode is _marker:
bindcode = self._prepareBindCode() bindcode = self._prepareBindCode()
bound_data = None if bindcode is None:
if bindcode is not None: bound_data = {}
else:
bound_data = [] bound_data = []
exec bindcode exec bindcode
bound_data = bound_data[0] bound_data = bound_data[0]
......
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