[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form - editview.py:1.13

Jim Fulton jim@zope.com
Fri, 7 Mar 2003 11:45:16 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser/form
In directory cvs.zope.org:/tmp/cvs-serv27691/zope/app/browser/form

Modified Files:
	editview.py 
Log Message:
Removed title and description from configuration schema.
Instead, made configuration objects annotatable so that they can
have title and description as meta data.


=== Zope3/src/zope/app/browser/form/editview.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/browser/form/editview.py:1.12	Sat Mar  1 22:34:04 2003
+++ Zope3/src/zope/app/browser/form/editview.py	Fri Mar  7 11:44:40 2003
@@ -206,7 +206,7 @@
         fields = fields.split()
         for name in fields:
             if name not in names:
-                raise ValueError("Field name %s is not in schema %s",
+                raise ValueError("Field name is not in schema",
                                  name, schema_)
     else:
         fields = names
@@ -215,7 +215,7 @@
         omit = omit.split()
         for name in omit:
             if name not in names:
-                raise ValueError("Field name %s is not in schema %s",
+                raise ValueError("Field name is not in schema",
                                  name, schema_)
         fields = [name for name in fields if name not in omit]