[Zope3-checkins] CVS: Zope3/src/zope/app/traversing - namespace.py:1.6
R. Sean Bowman
sean.bowman@acm.org
Tue, 11 Feb 2003 21:18:11 -0500
Update of /cvs-repository/Zope3/src/zope/app/traversing
In directory cvs.zope.org:/tmp/cvs-serv21737/zope/app/traversing
Modified Files:
namespace.py
Log Message:
moved non core CA service names to zope/app/services/servicenames.py,
renamed ResourceService to Resources
=== Zope3/src/zope/app/traversing/namespace.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/traversing/namespace.py:1.5 Tue Feb 11 11:00:01 2003
+++ Zope3/src/zope/app/traversing/namespace.py Tue Feb 11 21:17:37 2003
@@ -23,7 +23,7 @@
from zope.configuration.action import Action
from zope.component import queryAdapter, getAdapter, getServiceManager
from zope.component import queryDefaultViewName, getView, getService
-from zope.component.servicenames import ResourceService
+from zope.app.services.servicenames import Resources
from zope.app.interfaces.traversing import ITraversable
from zope.app.interfaces.services.service import INameResolver
@@ -127,7 +127,7 @@
return resource
def queryResourceInContext(ob, name, request, default=None):
- resource_service = getService(ob, ResourceService)
+ resource_service = getService(ob, Resources)
resource = resource_service.queryResource(ob, name, request)
if resource is None:
return default