[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Container - IZopeContainer.py:1.3.14.1

Marius Gedminas mgedmin@codeworks.lt
Wed, 11 Dec 2002 10:14:34 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Container
In directory cvs.zope.org:/tmp/cvs-serv22255/lib/python/Zope/App/OFS/Container

Modified Files:
      Tag: named-component-configuration-branch
	IZopeContainer.py 
Log Message:
Bugfix: it used to be possible to delete a ConfigurationManager with active
or registered configurations without unregistering them


=== Zope3/lib/python/Zope/App/OFS/Container/IZopeContainer.py 1.3 => 1.3.14.1 ===
--- Zope3/lib/python/Zope/App/OFS/Container/IZopeContainer.py:1.3	Tue Nov 19 09:45:54 2002
+++ Zope3/lib/python/Zope/App/OFS/Container/IZopeContainer.py	Wed Dec 11 10:14:03 2002
@@ -2,14 +2,14 @@
 #
 # Copyright (c) 2001, 2002 Zope Corporation and Contributors.
 # All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE.
-# 
+#
 ##############################################################################
 """
 $Id$
@@ -26,7 +26,7 @@
 
         The returned value will be in the context of the container.
         """
-        
+
 
 
 class IZopeSimpleReadContainer(IZopeItemContainer,
@@ -38,11 +38,11 @@
         """Get a value for a key
 
         The default is returned if there is no value for the key.
-        
-        The value for the key will be in the context of the container.         
+
+        The value for the key will be in the context of the container.
         """
-        
-    
+
+
 
 class IZopeReadContainer(IZopeSimpleReadContainer, IContainer.IReadContainer):
     """Readable containers that can be enumerated.
@@ -59,7 +59,7 @@
            of the container
         """
 
-    
+
 
 class IZopeWriteContainer(IContainer.IWriteContainer):
     """An interface for the write aspects of a container."""
@@ -80,7 +80,7 @@
         object in the context of the container
 
         An IObjectModifiedEvent will be published after the IObjectAddedEvent
-        is published. The event object will be the container.                        
+        is published. The event object will be the container.
         """
 
     def __delitem__(key):
@@ -88,7 +88,7 @@
 
         Raises a KeyError if the object is not found.
 
-        If the object has an adpter to IDeleteNotifyObject then the
+        If the object has an adpter to IDeleteNotifiable then the
         manageBeforeDeleteObject method on the adpter will be called before
         the object is removed.
 
@@ -100,6 +100,6 @@
         is published. The event object will be the container.
         """
 
-class IZopeContainer(IZopeReadContainer, IContainer.IContainer):
+class IZopeContainer(IZopeReadContainer, IZopeWriteContainer, IContainer.IContainer):
     """Readable and writable content container."""