[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - folder.py:1.9

Jim Fulton jim at zope.com
Wed Feb 11 02:00:58 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv12142/src/zope/app/interfaces/services

Modified Files:
	folder.py 
Log Message:
Removed the item type precondition, which is inherited from
IRegistrationManagerContainer.  Rearranged the base interfaces to
facilitate this.


=== Zope3/src/zope/app/interfaces/services/folder.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/interfaces/services/folder.py:1.8	Thu Dec 18 03:00:57 2003
+++ Zope3/src/zope/app/interfaces/services/folder.py	Wed Feb 11 02:00:58 2004
@@ -25,16 +25,10 @@
 from zope.app.container.constraints import ItemTypePrecondition
 
 class ISiteManagementFolder(
-    zope.app.interfaces.container.IContainer,
     zope.app.interfaces.services.registration.IRegistrationManagerContainer,
+    zope.app.interfaces.container.IContainer,
     ):
     """Component and component registration containers."""
-
-    def __setitem__(name, object):
-        """Add a registerable object
-        """
-    __setitem__.precondition = ItemTypePrecondition(
-        zope.app.interfaces.services.registration.IRegisterable)
 
     __parent__ = zope.schema.Field(
         constraint = ContainerTypesConstraint(




More information about the Zope3-Checkins mailing list