Log message for revision 99410:
  Removed unused `Zope2.Startup.start_zope` function
  

Changed:
  U   Zope/trunk/doc/CHANGES.rst
  U   Zope/trunk/src/Zope2/Startup/__init__.py

-=-
Modified: Zope/trunk/doc/CHANGES.rst
===================================================================
--- Zope/trunk/doc/CHANGES.rst  2009-04-22 20:47:47 UTC (rev 99409)
+++ Zope/trunk/doc/CHANGES.rst  2009-04-22 23:01:33 UTC (rev 99410)
@@ -25,6 +25,8 @@
 
 - Updated to zdaemon 2.0.4.
 
+- Removed unused `Zope2.Startup.start_zope` function
+
 Bugs Fixed
 ++++++++++
 

Modified: Zope/trunk/src/Zope2/Startup/__init__.py
===================================================================
--- Zope/trunk/src/Zope2/Startup/__init__.py    2009-04-22 20:47:47 UTC (rev 
99409)
+++ Zope/trunk/src/Zope2/Startup/__init__.py    2009-04-22 23:01:33 UTC (rev 
99410)
@@ -43,24 +43,7 @@
     else:
         return UnixZopeStarter()
 
-def start_zope(cfg, debug_handler):
-    """The function called by run.py which starts a Zope appserver."""
-    global started
-    if started:
-        # Don't allow any code to call start_zope() twice.
-        return
 
-    starter = get_starter()
-    starter.setConfiguration(cfg)
-    starter.prepare()
-
-    started = True
-    try:
-        starter.run()
-    finally:
-        started = False
-
-
 class ZopeStarter:
     """This is a class which starts a Zope server.
 

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to