[Zope3-checkins] SVN: Zope3/trunk/src/zope/schema/interfaces.py Removed erroneous schema attribute.

Benji York benji at zope.com
Fri Feb 18 09:39:14 EST 2005


Log message for revision 29205:
  Removed erroneous schema attribute.

Changed:
  U   Zope3/trunk/src/zope/schema/interfaces.py

-=-
Modified: Zope3/trunk/src/zope/schema/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/schema/interfaces.py	2005-02-18 14:38:37 UTC (rev 29204)
+++ Zope3/trunk/src/zope/schema/interfaces.py	2005-02-18 14:39:14 UTC (rev 29205)
@@ -357,20 +357,12 @@
 
     Only one, values or vocabulary, may be specified for a given choice.
     """
-    vocabularyName = TextLine(
-        title=u"Vocabulary Name",
-        description=(u"The name of the vocabulary to be used.  This name\n"
-                     u"is intended to be used by the IVocabularyRegistry's\n"
-                     u"get() method."),
-        required=False,
-        default=None)
-
     vocabulary = Attribute(
         "vocabulary",
-        ("IBaseVocabulary to be used, or None.\n"
+        ("IBaseVocabulary to be used, or vocabulary name, or None.\n"
          "\n"
-         "If None, the vocabularyName should be used by an\n"
-         "IVocabularyRegistry should be used to locate an appropriate\n"
+         "If a string, the vocabulary name should be used by an\n"
+         "IVocabularyRegistry to locate an appropriate\n"
          "IBaseVocabulary object."))
 
 # Collections:



More information about the Zope3-Checkins mailing list