Commit a90eb0e1 authored by Baiju Muthukadan's avatar Baiju Muthukadan

Removed unused `Zope2.Startup.start_zope` function

parent 2de80618
...@@ -25,6 +25,8 @@ Restructuring ...@@ -25,6 +25,8 @@ Restructuring
- Updated to zdaemon 2.0.4. - Updated to zdaemon 2.0.4.
- Removed unused `Zope2.Startup.start_zope` function
Bugs Fixed Bugs Fixed
++++++++++ ++++++++++
......
...@@ -43,23 +43,6 @@ def get_starter(): ...@@ -43,23 +43,6 @@ def get_starter():
else: else:
return UnixZopeStarter() 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: class ZopeStarter:
"""This is a class which starts a Zope server. """This is a class which starts a Zope server.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment