[Zope3-checkins] CVS: Zope3/src/zope/app/container - contained.py:1.15

Jim Fulton jim at zope.com
Sat Mar 6 17:21:17 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/container
In directory cvs.zope.org:/tmp/cvs-serv2970/src/zope/app/container

Modified Files:
	contained.py 
Log Message:
Got rid of NameRegistry.


=== Zope3/src/zope/app/container/contained.py 1.14 => 1.15 ===
--- Zope3/src/zope/app/container/contained.py:1.14	Sat Mar  6 12:48:47 2004
+++ Zope3/src/zope/app/container/contained.py	Sat Mar  6 17:20:46 2004
@@ -729,7 +729,7 @@
 from zope.app.container.interfaces import IContainer
 from transaction import get_transaction
 from zope.component.exceptions import ComponentLookupError
-from zope.app.interfaces.services.registration import IRegistry, INameRegistry
+from zope.app.interfaces.services.registration import IRegistry, INameComponentRegistry
 from zope.app.services.registration import RegistrationStack
 
 def parentgeddonFixup(event):
@@ -804,7 +804,7 @@
     fixcontainer(sm)
 
 def fixregistry(registry):
-    if INameRegistry.providedBy(registry):
+    if INameComponentRegistry.providedBy(registry):
         for name in registry.listRegistrationNames():
             stack = registry.queryRegistrations(name)
             stack.__parent__ = registry




More information about the Zope3-Checkins mailing list