[Zope3-checkins] CVS: Zope3/src/zope/app/traversing - namespace.py:1.3.2.1
Sidnei da Silva
sidnei@x3ng.com.br
Tue, 11 Feb 2003 09:42:03 -0500
Update of /cvs-repository/Zope3/src/zope/app/traversing
In directory cvs.zope.org:/tmp/cvs-serv18615/src/zope/app/traversing
Modified Files:
Tag: paris-copypasterename-branch
namespace.py
Log Message:
Updating from HEAD to make sure everything still works before merging
=== Zope3/src/zope/app/traversing/namespace.py 1.3 => 1.3.2.1 ===
--- Zope3/src/zope/app/traversing/namespace.py:1.3 Tue Jan 7 07:27:55 2003
+++ Zope3/src/zope/app/traversing/namespace.py Tue Feb 11 09:41:32 2003
@@ -23,6 +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.interfaces.traversing import ITraversable
from zope.app.interfaces.services.service import INameResolver
@@ -126,7 +127,7 @@
return resource
def queryResourceInContext(ob, name, request, default=None):
- resource_service = getService(ob, 'Resources')
+ resource_service = getService(ob, ResourceService)
resource = resource_service.queryResource(ob, name, request)
if resource is None:
return default