Commit a2cbcc0c authored by Jeremy Hylton's avatar Jeremy Hylton

Remove vestigal PROFILE support.

parent 2548cade
...@@ -23,12 +23,6 @@ import tempfile ...@@ -23,12 +23,6 @@ import tempfile
import zLOG import zLOG
# Change value of PROFILE to enable server-side profiling
PROFILE = 0
if PROFILE:
import hotshot
def get_port(): def get_port():
"""Return a port that is not in use. """Return a port that is not in use.
...@@ -50,7 +44,6 @@ def get_port(): ...@@ -50,7 +44,6 @@ def get_port():
s.close() s.close()
raise RuntimeError, "Can't find port" raise RuntimeError, "Can't find port"
def start_zeo_server(conf, addr=None, ro_svr=0, monitor=0, keep=0, invq=None, def start_zeo_server(conf, addr=None, ro_svr=0, monitor=0, keep=0, invq=None,
timeout=None): timeout=None):
"""Start a ZEO server in a separate process. """Start a ZEO server in a separate process.
......
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