[Zope3-checkins] SVN: Zope3/tags/before-blow-services-merge/src/zope/schema/interfaces.py Removed erroneous schema attribute.

Benji York benji at zope.com
Thu Feb 17 16:02:37 EST 2005


Log message for revision 29190:
  Removed erroneous schema attribute.

Changed:
  U   Zope3/tags/before-blow-services-merge/src/zope/schema/interfaces.py

-=-
Modified: Zope3/tags/before-blow-services-merge/src/zope/schema/interfaces.py
===================================================================
--- Zope3/tags/before-blow-services-merge/src/zope/schema/interfaces.py	2005-02-17 21:02:19 UTC (rev 29189)
+++ Zope3/tags/before-blow-services-merge/src/zope/schema/interfaces.py	2005-02-17 21:02:36 UTC (rev 29190)
@@ -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