[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/schema/interfaces.py
IVocabularyFactory apparently moved, so add deprecation warning.
Martijn Faassen
faassen at infrae.com
Thu Apr 27 07:06:02 EDT 2006
Log message for revision 67634:
IVocabularyFactory apparently moved, so add deprecation warning.
Changed:
U Zope3/trunk/src/zope/app/schema/interfaces.py
-=-
Modified: Zope3/trunk/src/zope/app/schema/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/schema/interfaces.py 2006-04-27 10:24:07 UTC (rev 67633)
+++ Zope3/trunk/src/zope/app/schema/interfaces.py 2006-04-27 11:06:01 UTC (rev 67634)
@@ -88,3 +88,8 @@
class IMutableSchema(IReadMutableSchema, IWriteMutableSchema):
"""This object represents an interface/schema that can be edited by
managing the fields it contains."""
+
+import zope.deferredimport
+zope.deferredimport.deprecated(
+ 'IVocabularyFactory has moved to zope.schema.interfaces',
+ IVocabularyFactory = 'zope.schema.interfaces:IVocabularyFactory')
More information about the Zope3-Checkins
mailing list