[Zope3-checkins] CVS: Zope3/src/zope/schema - _bootstrapfields.py:1.13.2.1

Jim Fulton jim@zope.com
Thu, 17 Apr 2003 06:17:57 -0400


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

Modified Files:
      Tag: uk-april-2003-usability-branch
	_bootstrapfields.py 
Log Message:
Checking Seb's sprint work into a branch

=== Zope3/src/zope/schema/_bootstrapfields.py 1.13 => 1.13.2.1 ===
--- Zope3/src/zope/schema/_bootstrapfields.py:1.13	Mon Apr 14 16:02:31 2003
+++ Zope3/src/zope/schema/_bootstrapfields.py	Thu Apr 17 06:17:57 2003
@@ -135,7 +135,7 @@
 
     def set(self, object, value):
         if self.readonly:
-            raise TypeError("Can't set values on read-only fields")
+            raise TypeError("Can't set values on read-only fields:", self.__name__)
         setattr(object, self.__name__, value)
 
 class Container(Field):