[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/container/interfaces.py Deprecate IContentContainer

Julien Anguenot ja at nuxeo.com
Sat Jun 18 12:24:40 EDT 2005


Log message for revision 30847:
  Deprecate IContentContainer

Changed:
  U   Zope3/trunk/src/zope/app/container/interfaces.py

-=-
Modified: Zope3/trunk/src/zope/app/container/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/container/interfaces.py	2005-06-18 15:54:24 UTC (rev 30846)
+++ Zope3/trunk/src/zope/app/container/interfaces.py	2005-06-18 16:24:40 UTC (rev 30847)
@@ -17,6 +17,8 @@
 """
 __docformat__ = 'restructuredtext'
 
+from zope.deprecation import deprecated
+
 from zope.interface import Interface, Attribute, Invalid
 from zope.component.interfaces import IView
 from zope.interface.common.mapping import IItemMapping
@@ -24,6 +26,10 @@
 from zope.app.location.interfaces import ILocation
 from zope.app.event.interfaces import IObjectEvent
 
+deprecated('IContentContainer',
+           'This interface has been deprecated. '
+           'Check the "containerViews" zcml directive. '
+           'The reference will be gone in 3.2')
 
 class DuplicateIDError(KeyError):
     pass



More information about the Zope3-Checkins mailing list