[Zope3-checkins] CVS: Zope3/src/zope/app/index - subscribers.py:1.10

Albertas Agejevas alga@codeworks.lt
Wed, 19 Mar 2003 12:56:06 -0500


Update of /cvs-repository/Zope3/src/zope/app/index
In directory cvs.zope.org:/tmp/cvs-serv28092/src/zope/app/index

Modified Files:
	subscribers.py 
Log Message:
Renamed getPhysicalRoot() to getRoot().


=== Zope3/src/zope/app/index/subscribers.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/index/subscribers.py:1.9	Sun Mar 16 18:19:30 2003
+++ Zope3/src/zope/app/index/subscribers.py	Wed Mar 19 12:55:36 2003
@@ -40,7 +40,7 @@
 from zope.app.services.servicenames import HubIds
 
 from zope.app.traversing import traverse, traverseName, \
-     getPhysicalPath, getPhysicalRoot
+     getPhysicalPath, getRoot
 from zope.app.interfaces.services.hub import ObjectHubError
 
 class ISubscriptionControl(Interface):
@@ -145,5 +145,5 @@
             break
     else:
         raise ValueError, "can't find '++etc++Services' in path"
-    root = getPhysicalRoot(context)
+    root = getRoot(context)
     return traverse(root, location)