[Checkins] SVN: zope.configuration/branches/chrism-configmachine/src/zope/configuration/config.py make bootstrap an API
Chris McDonough
chrism at plope.com
Sun Aug 28 20:04:18 EDT 2011
Log message for revision 122696:
make bootstrap an API
Changed:
U zope.configuration/branches/chrism-configmachine/src/zope/configuration/config.py
-=-
Modified: zope.configuration/branches/chrism-configmachine/src/zope/configuration/config.py
===================================================================
--- zope.configuration/branches/chrism-configmachine/src/zope/configuration/config.py 2011-08-28 23:38:30 UTC (rev 122695)
+++ zope.configuration/branches/chrism-configmachine/src/zope/configuration/config.py 2011-08-29 00:04:18 UTC (rev 122696)
@@ -80,7 +80,7 @@
def __init__(self):
# the base configuration machine does not bootstrap any directives
super(ConfigurationMachine, self).__init__()
- _bootstrap(self)
+ bootstrap(self)
##############################################################################
# Stack items
@@ -789,7 +789,7 @@
# Bootstrap code
-def _bootstrap(context):
+def bootstrap(context):
# Set enough machinery to register other directives
@@ -883,3 +883,4 @@
schema="zope.configuration.config.IProvidesDirectiveInfo"
)
+_bootstrap = bootstrap # bw compat
More information about the checkins
mailing list