[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - configuration.py:1.15

Guido van Rossum guido@python.org
Thu, 12 Jun 2003 13:04:15 -0400


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

Modified Files:
	configuration.py 
Log Message:
Use/allow relative paths in ComponentConfiguration subclasses.
Existing absolute paths will continue to work, but all newly created
ComponentConfiguration subclass instances will use a path relative to
the site management folder containing the configured object -- i.e.,
this is just the object's name.  Fixed all places where I've seen
absolute paths used.  (Still to do: use relative paths for references
*to* the configuration object as well; these occur in registries, and
are also used by the IUseConfigurable machinery and by dependencies.)


=== Zope3/src/zope/app/interfaces/services/configuration.py 1.14 => 1.15 ===
--- Zope3/src/zope/app/interfaces/services/configuration.py:1.14	Tue Jun  3 10:28:50 2003
+++ Zope3/src/zope/app/interfaces/services/configuration.py	Thu Jun 12 13:03:43 2003
@@ -118,7 +118,8 @@
 
     componentPath = ComponentPath(
         title=u"Component path",
-        description=u"The physical path to the component",
+        description=u"The path to the component; this may be absolute, "
+                    u"or relative to the nearest site management folder",
         required=True)
 
     permission = PermissionField(