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

Chris McDonough chrism at zopemafia.com
Sun Dec 21 19:24:55 EST 2003


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

Modified Files:
      Tag: Zope-2_7-branch
	__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.35.36.1 ===
--- 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:24:25 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