[Zope3-checkins] CVS: Zope3/src/zope/component/tests -
placelesssetup.py:1.9
Jim Fulton
jim at zope.com
Sun Apr 11 14:16:55 EDT 2004
Update of /cvs-repository/Zope3/src/zope/component/tests
In directory cvs.zope.org:/tmp/cvs-serv19375/src/zope/component/tests
Modified Files:
placelesssetup.py
Log Message:
Got rid of the module global utilityService. Now you must go through
getService to get the global utility service.
=== Zope3/src/zope/component/tests/placelesssetup.py 1.8 => 1.9 ===
--- Zope3/src/zope/component/tests/placelesssetup.py:1.8 Tue Mar 9 07:40:33 2004
+++ Zope3/src/zope/component/tests/placelesssetup.py Sun Apr 11 14:16:54 2004
@@ -33,8 +33,8 @@
# utility service
from zope.component.interfaces import IUtilityService
defineService(Utilities, IUtilityService)
- from zope.component.utility import utilityService
- provideService(Utilities, utilityService)
+ from zope.component.utility import GlobalUtilityService
+ provideService(Utilities, GlobalUtilityService())
# adapter service
from zope.component.interfaces import IAdapterService
More information about the Zope3-Checkins
mailing list