[Zope-Checkins] CVS: Packages/Shared/DC/Scripts - Bindings.py:1.6
Evan Simpson
evan@zope.com
Mon, 15 Oct 2001 10:31:59 -0400
Update of /cvs-repository/Packages/Shared/DC/Scripts
In directory cvs.zope.org:/tmp/cvs-serv317
Modified Files:
Bindings.py
Log Message:
Force bound_data to be a dictionary.
=== Packages/Shared/DC/Scripts/Bindings.py 1.5 => 1.6 ===
if bindcode is _marker:
bindcode = self._prepareBindCode()
- bound_data = None
- if bindcode is not None:
+ if bindcode is None:
+ bound_data = {}
+ else:
bound_data = []
exec bindcode
bound_data = bound_data[0]