[Zope3-checkins] CVS: Zope3/src/zope/app/traversing -
namespace.py:1.22.10.1
Philipp von Weitershausen
philikon at philikon.de
Sun Feb 8 09:49:35 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/traversing
In directory cvs.zope.org:/tmp/cvs-serv20324/traversing
Modified Files:
Tag: philikon-movecontent-branch
namespace.py
Log Message:
etc() was depending on IRootFolder. That is not necessary, because all it
needs is to know whether it's dealing with the root object or not.
IContainmentRoot does that.
=== Zope3/src/zope/app/traversing/namespace.py 1.22 => 1.22.10.1 ===
--- Zope3/src/zope/app/traversing/namespace.py:1.22 Fri Nov 21 12:09:36 2003
+++ Zope3/src/zope/app/traversing/namespace.py Sun Feb 8 09:49:34 2004
@@ -146,7 +146,7 @@
from zope.app.applicationcontrol.applicationcontrol \
import applicationController
-from zope.app.interfaces.content.folder import IRootFolder
+from zope.app.interfaces.traversing import IContainmentRoot
def etc(name, parameters, pname, ob, request):
# XXX
@@ -164,7 +164,7 @@
raise UnexpectedParameters(parameters)
if (name in ('process', 'ApplicationController')
- and IRootFolder.isImplementedBy(ob)):
+ and IContainmentRoot.isImplementedBy(ob)):
return applicationController
if name not in ('site', 'Services'):
More information about the Zope3-Checkins
mailing list