[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/LocalEventService - LocalEventService.py:1.5 LocalServiceSubscribable.py:1.4
Jim Fulton
jim@zope.com
Thu, 1 Aug 2002 14:42:42 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/LocalEventService
In directory cvs.zope.org:/tmp/cvs-serv5741/lib/python/Zope/App/OFS/Services/LocalEventService
Modified Files:
LocalEventService.py LocalServiceSubscribable.py
Log Message:
Removed dependcies of:
Zope.ComponentArchitecture
Zope.Configuration
Zope.Exceptions
Zope.Testing
on other packages, especially App, in preparation for making these
packages part of Zope 2 and useful outside of the Zope application.
In particular, all placeful service support was moved to
Zope.App.ComponentArchitecture.
Placeful service implementors should get the nextService and
nextServiceManager functions from
Zope.App.ComponentArchitecture.NextService.
=== Zope3/lib/python/Zope/App/OFS/Services/LocalEventService/LocalEventService.py 1.4 => 1.5 ===
from Zope.App.OFS.Services.ServiceManager.IBindingAware import IBindingAware
from Zope.App.Traversing.ITraverser import ITraverser
-from Zope.ComponentArchitecture import getNextService, getAdapter, getService
+from Zope.ComponentArchitecture import getAdapter, getService
+from Zope.App.ComponentArchitecture.NextService import getNextService
from Zope.ContextWrapper import ContextMethod
from Zope.Exceptions import NotFoundError
from Zope.Proxy.ContextWrapper import ContextWrapper
=== Zope3/lib/python/Zope/App/OFS/Services/LocalEventService/LocalServiceSubscribable.py 1.3 => 1.4 ===
from Zope.Proxy.ContextWrapper import ContextWrapper
from LocalSubscribable import LocalSubscribable
from Persistence import Persistent
-from Zope.ComponentArchitecture import getNextService
+from Zope.App.ComponentArchitecture.NextService import getNextService
class LocalServiceSubscribable(LocalSubscribable, Persistent):
"""a local mix-in for services"""