[Zope3-checkins] CVS: Zope3/src/zope/app/container -
contained.py:1.16
Jim Fulton
jim at zope.com
Sun Mar 7 08:54:48 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/container
In directory cvs.zope.org:/tmp/cvs-serv1009/src/zope/app/container
Modified Files:
contained.py
Log Message:
Got rid of (unabstracted) NameComponentRegistry.
=== Zope3/src/zope/app/container/contained.py 1.15 => 1.16 ===
--- Zope3/src/zope/app/container/contained.py:1.15 Sat Mar 6 17:20:46 2004
+++ Zope3/src/zope/app/container/contained.py Sun Mar 7 08:54:17 2004
@@ -729,7 +729,8 @@
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, INameComponentRegistry
+from zope.app.interfaces.services.registration import IRegistry
+from zope.app.interfaces.services.service import ISiteManager
from zope.app.services.registration import RegistrationStack
def parentgeddonFixup(event):
@@ -804,7 +805,7 @@
fixcontainer(sm)
def fixregistry(registry):
- if INameComponentRegistry.providedBy(registry):
+ if ISiteManager.providedBy(registry):
for name in registry.listRegistrationNames():
stack = registry.queryRegistrations(name)
stack.__parent__ = registry
More information about the Zope3-Checkins
mailing list