[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/form/browser/itemswidgets.py
Fixed a bug introduced in r26931 refactoring (_toFieldValue
was using _data_marker, which was removed in the last revision).
Garrett Smith
garrett at mojave-corp.com
Sat Aug 21 11:10:18 EDT 2004
Log message for revision 27209:
Fixed a bug introduced in r26931 refactoring (_toFieldValue was using _data_marker, which was removed in the last revision).
Changed:
U Zope3/trunk/src/zope/app/form/browser/itemswidgets.py
-=-
Modified: Zope3/trunk/src/zope/app/form/browser/itemswidgets.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/itemswidgets.py 2004-08-21 08:11:04 UTC (rev 27208)
+++ Zope3/trunk/src/zope/app/form/browser/itemswidgets.py 2004-08-21 15:10:17 UTC (rev 27209)
@@ -180,7 +180,7 @@
def _toFieldValue(self, input):
"""See SimpleInputWidget"""
- if input is self._data_marker:
+ if input is None:
return []
if not isinstance(input, list):
input = [input]
More information about the Zope3-Checkins
mailing list