[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/TranslationService - TranslationService.py:1.3
Jim Fulton
jim@zope.com
Thu, 1 Aug 2002 14:42:44 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/TranslationService
In directory cvs.zope.org:/tmp/cvs-serv5741/lib/python/Zope/App/OFS/Services/TranslationService
Modified Files:
TranslationService.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/TranslationService/TranslationService.py 1.2 => 1.3 ===
import Persistence
from Persistence.BTrees.OOBTree import OOBTree
-from Zope.ComponentArchitecture import createObject
-from Zope.ComponentArchitecture import getService, queryNextService
+from Zope.ComponentArchitecture import createObject, getService
+from Zope.App.ComponentArchitecture.NextService import queryNextService
from Zope.App.OFS.Container.BTreeContainer import BTreeContainer
from Zope.App.OFS.Container.IContainer import IContainer