[Zope3-checkins] CVS: Zope3/src/zope/schema -
_bootstrapfields.py:1.23
Garrett Smith
garrett at mojave-corp.com
Tue Sep 23 20:37:42 EDT 2003
Update of /cvs-repository/Zope3/src/zope/schema
In directory cvs.zope.org:/tmp/cvs-serv5998/src/zope/schema
Modified Files:
_bootstrapfields.py
Log Message:
Added a comment for a proposed change. This change, if implemented, would conflict with some code in schemautils so I'm holding off for now.
=== Zope3/src/zope/schema/_bootstrapfields.py 1.22 => 1.23 ===
--- Zope3/src/zope/schema/_bootstrapfields.py:1.22 Thu Aug 14 10:36:14 2003
+++ Zope3/src/zope/schema/_bootstrapfields.py Tue Sep 23 20:37:42 2003
@@ -148,7 +148,7 @@
return clone
def validate(self, value):
- if value is None:
+ if value == None: # XXX None should be self.missing_value
if self.required:
raise ValidationError(errornames.RequiredMissing)
else:
More information about the Zope3-Checkins
mailing list