[Zope3-checkins] CVS: Zope3/src/zope/app/services - configuration.py:1.19 view.py:1.13

Jim Fulton jim@zope.com
Sun, 23 Mar 2003 17:36:14 -0500


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

Modified Files:
	configuration.py view.py 
Log Message:
Renamed ++etc++Services to ++etc++site and renamed
++etc++ApplicationController to ++etc++process.


=== Zope3/src/zope/app/services/configuration.py 1.18 => 1.19 ===
--- Zope3/src/zope/app/services/configuration.py:1.18	Sun Mar 23 17:03:28 2003
+++ Zope3/src/zope/app/services/configuration.py	Sun Mar 23 17:35:41 2003
@@ -115,9 +115,14 @@
     def _id(self, ob):
 
         # Get and check relative path
-        prefix = "/++etc++Services/"
         path = getPath(ob)
+        prefix = "/++etc++site/"
         lpackages = path.rfind(prefix)
+        if lpackages < 0:
+            # XXX Backward compatability
+            prefix = "/++etc++Services/"
+            lpackages = path.rfind(prefix)
+
         if lpackages < 0:
             raise ValueError("Configuration object is in an invalid location",
                              path)


=== Zope3/src/zope/app/services/view.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/services/view.py:1.12	Wed Mar 19 12:55:36 2003
+++ Zope3/src/zope/app/services/view.py	Sun Mar 23 17:35:41 2003
@@ -272,7 +272,7 @@
     def implementationSummary(self):
         L = []
         if self.template:
-            prefix = "/++etc++Services/"
+            prefix = "/++etc++site/"
             t = self.template
             i = t.rfind(prefix)
             if i >= 0: