[Zope3-checkins] CVS: Zope3/src/zope/app/startup - bootstrap.py:1.12
Jim Fulton
jim@zope.com
Sun, 23 Mar 2003 17:03:29 -0500
Update of /cvs-repository/Zope3/src/zope/app/startup
In directory cvs.zope.org:/tmp/cvs-serv11562/src/zope/app/startup
Modified Files:
bootstrap.py
Log Message:
Changed the name of configuration managers created in site-management
folders to "ConfigurationManager".
Updated all code that accessed configuration managers to use
getConfigurationManager rather that traversing containers with
hardcoded names.
=== Zope3/src/zope/app/startup/bootstrap.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/startup/bootstrap.py:1.11 Tue Mar 18 16:02:23 2003
+++ Zope3/src/zope/app/startup/bootstrap.py Sun Mar 23 17:03:29 2003
@@ -117,7 +117,7 @@
"""Configure a service in the root folder."""
package_name = '/++etc++Services/default'
package = traverse(root_folder, package_name)
- configuration_manager = traverseName(package, 'configure')
+ configuration_manager = package.getConfigurationManager()
configuration = ServiceConfiguration(service_type,
package_name + '/' + name,
root_folder)