[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/form/browser/sequencewidget.py
Fixed XXX.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Jul 9 11:46:56 EDT 2004
Log message for revision 26348:
Fixed XXX.
Converted XXX to TODO.
-=-
Modified: Zope3/trunk/src/zope/app/form/browser/sequencewidget.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/sequencewidget.py 2004-07-09 15:46:54 UTC (rev 26347)
+++ Zope3/trunk/src/zope/app/form/browser/sequencewidget.py 2004-07-09 15:46:56 UTC (rev 26348)
@@ -45,9 +45,7 @@
def __call__(self):
"""Render the widget
"""
- # XXX we really shouldn't allow value_type of None
- if self.context.value_type is None:
- return ''
+ assert self.context.value_type is not None
render = []
@@ -148,7 +146,7 @@
self.context.value_type.validate(value)
return self._type(sequence)
- # XXX applyChanges isn't reporting "change" correctly (we're
+ # TODO: applyChanges isn't reporting "change" correctly (we're
# re-generating the sequence with every edit, and need to be smarter)
def applyChanges(self, content):
field = self.context
More information about the Zope3-Checkins
mailing list