[Zope-Checkins] SVN: Zope/trunk/ made Zope.configure return the starter instance to enable other methods to be called, such as starter.setupConfiguredLoggers()

Chris Withers chris at simplistix.co.uk
Tue Jul 6 05:56:59 EDT 2004


Log message for revision 26104:
made Zope.configure return the starter instance to enable other methods to be called, such as starter.setupConfiguredLoggers()


-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt	2004-07-05 22:10:57 UTC (rev 26103)
+++ Zope/trunk/doc/CHANGES.txt	2004-07-06 09:56:58 UTC (rev 26104)
@@ -26,6 +26,9 @@
 
     Features added
 
+     - made Zope.configure return the starter instance to enable other
+       methods to be called, such as starter.setupConfiguredLoggers()
+
      - Improved Unicode handling in Page Templates. Template contents
        and title will now be saved as a Unicode string if 
        the management_page_charset variable can be acquired and is true.

Modified: Zope/trunk/lib/python/Zope/Startup/run.py
===================================================================
--- Zope/trunk/lib/python/Zope/Startup/run.py	2004-07-05 22:10:57 UTC (rev 26103)
+++ Zope/trunk/lib/python/Zope/Startup/run.py	2004-07-06 09:56:58 UTC (rev 26104)
@@ -32,6 +32,7 @@
     starter.setConfiguration(opts.configroot)
     starter.setupSecurityOptions()
     starter.dropPrivileges()
+    return starter
 
 def _setconfig(configfile=None):
     """ Configure a Zope instance based on ZopeOptions.  Optionally



More information about the Zope-Checkins mailing list