[Zope3-checkins] CVS: Zope3/src/zope/schema - errornames.py:1.6

Dominik Huber cvs-admin at zope.org
Mon Nov 24 12:02:29 EST 2003


Update of /cvs-repository/Zope3/src/zope/schema
In directory cvs.zope.org:/tmp/cvs-serv9523

Modified Files:
	errornames.py 
Log Message:
_field.py
======
update class Object(Field):
-----------------------------------------
__init__: first set self.schema and then call the super class

_validate: add schema check

update function _validate_fields:
---------------------------------------------------
- iterate through schema.fields instead of iterating through the value.__dict__

tests/test_objectfield.py
===================
added unittest

errornames.py
===========
added  two new Errors: SchemaNotFullyImplemented, SchemaNotProvided


=== Zope3/src/zope/schema/errornames.py 1.5 => 1.6 ===
--- Zope3/src/zope/schema/errornames.py:1.5	Fri Sep 19 02:47:53 2003
+++ Zope3/src/zope/schema/errornames.py	Mon Nov 24 12:02:29 2003
@@ -52,3 +52,7 @@
 NotAContainer = _(u'Not a container')
 
 NotAnIterator = _(u'Not an iterator')
+
+SchemaNotFullyImplemented = _(u'Schema not fully implemented')
+
+SchemaNotProvided = _(u'Schema not provided')




More information about the Zope3-Checkins mailing list