[Zope3-checkins] CVS: Zope3/src/zope/app/services - configuration.py:1.13 view.py:1.12
Albertas Agejevas
alga@codeworks.lt
Wed, 19 Mar 2003 12:56:07 -0500
Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv28092/src/zope/app/services
Modified Files:
configuration.py view.py
Log Message:
Renamed getPhysicalRoot() to getRoot().
=== Zope3/src/zope/app/services/configuration.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/services/configuration.py:1.12 Tue Mar 18 16:02:22 2003
+++ Zope3/src/zope/app/services/configuration.py Wed Mar 19 12:55:36 2003
@@ -44,7 +44,7 @@
import Unregistered, Registered, Active
from zope.app.traversing \
- import getPhysicalRoot, getPhysicalPathString, traverse, locationAsUnicode
+ import getRoot, getPhysicalPathString, traverse, locationAsUnicode
class ConfigurationStatusProperty:
@@ -347,7 +347,7 @@
# physical root isn't proxied.
# get the root and unproxy it.
- root = removeAllProxies(getPhysicalRoot(service_manager))
+ root = removeAllProxies(getRoot(service_manager))
component = traverse(root, wrapped_self.componentPath)
if wrapped_self.permission:
=== Zope3/src/zope/app/services/view.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/services/view.py:1.11 Tue Mar 18 16:02:22 2003
+++ Zope3/src/zope/app/services/view.py Wed Mar 19 12:55:36 2003
@@ -38,7 +38,7 @@
from zope.security.checker import NamesChecker, ProxyFactory
from zope.proxy.introspection import removeAllProxies
-from zope.app.traversing import getPhysicalRoot, traverse
+from zope.app.traversing import getRoot, traverse
from zope.exceptions import NotFoundError
from zope.app.interfaces.services.view import IViewConfiguration
@@ -319,7 +319,7 @@
view = class_(object, request)
# This is needed because we need to do an unrestricted traverse
- root = removeAllProxies(getPhysicalRoot(sm))
+ root = removeAllProxies(getRoot(sm))
if self.attribute:
template = getattr(view, self.attribute)