[Zope3-checkins] CVS: Zope3/src/zope/app/traversing - namespace.py:1.9
Jim Fulton
jim@zope.com
Sun, 23 Mar 2003 17:36:14 -0500
Update of /cvs-repository/Zope3/src/zope/app/traversing
In directory cvs.zope.org:/tmp/cvs-serv15726/src/zope/app/traversing
Modified Files:
namespace.py
Log Message:
Renamed ++etc++Services to ++etc++site and renamed
++etc++ApplicationController to ++etc++process.
=== Zope3/src/zope/app/traversing/namespace.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/traversing/namespace.py:1.8 Thu Mar 13 12:10:38 2003
+++ Zope3/src/zope/app/traversing/namespace.py Sun Mar 23 17:35:43 2003
@@ -192,11 +192,11 @@
if parameters:
raise UnexpectedParameters(parameters)
- if name == 'ApplicationController' and ob.__class__ == RootFolder:
+ if (name in ('process', 'ApplicationController')
+ and ob.__class__ == RootFolder):
return applicationController
- if name != 'Services':
-
+ if name not in ('site', 'Services'):
raise NotFoundError(ob, pname, request)
method_name = "getServiceManager"