[Zope-Checkins] CVS: Zope/lib/python/Zope - __init__.py:1.36

Chris McDonough chrism at zopemafia.com
Sun Dec 21 19:27:09 EST 2003


Update of /cvs-repository/Zope/lib/python/Zope
In directory cvs.zope.org:/tmp/cvs-serv24444/lib/python/Zope

Modified Files:
	__init__.py 
Log Message:
Created 'configure' API function. The 'configure' API function accepts a config
file path and does for scripts what "start_zope" does for interactive startup.

Use the configure function from within zopectl, replacing some gnarly exec'd code.


=== Zope/lib/python/Zope/__init__.py 1.35 => 1.36 ===
--- Zope/lib/python/Zope/__init__.py:1.35	Tue Oct 22 10:23:36 2002
+++ Zope/lib/python/Zope/__init__.py	Sun Dec 21 19:26:38 2003
@@ -56,6 +56,7 @@
     import ZPublisher
     return ZPublisher.test('Zope', *args, **kw)
 
+from Zope.Startup.run import configure
 
 # Zope.App.startup.startup() sets the following variables in this module.
 DB = None




More information about the Zope-Checkins mailing list