Commit 6b4ebf6e authored by Guido van Rossum's avatar Guido van Rossum

Get rid of unused variable.

Get rid of $Id$ in docstring (it's seen rarely in ZEO).
Append a newline to the pid file.
parent 56a5f45e
...@@ -11,10 +11,8 @@ ...@@ -11,10 +11,8 @@
# FOR A PARTICULAR PURPOSE # FOR A PARTICULAR PURPOSE
# #
############################################################################## ##############################################################################
"""Start the server storage. """Start the ZEO storage server."""
$Id: start.py,v 1.45 2002/09/23 01:52:50 gvanrossum Exp $
"""
from __future__ import nested_scopes from __future__ import nested_scopes
import sys, os, getopt import sys, os, getopt
...@@ -106,7 +104,7 @@ def main(argv): ...@@ -106,7 +104,7 @@ def main(argv):
env = Environment(me) env = Environment(me)
# XXX hack for profiling support # XXX hack for profiling support
global unix, storages, zeo_pid, asyncore global unix, storages, asyncore
args = [] args = []
last = '' last = ''
...@@ -172,7 +170,7 @@ def main(argv): ...@@ -172,7 +170,7 @@ def main(argv):
port = None port = None
debug = 0 debug = 0
host = '' host = ''
unix =None unix = None
Z = 1 Z = 1
UID = 'nobody' UID = 'nobody'
prof = None prof = None
...@@ -265,7 +263,7 @@ def main(argv): ...@@ -265,7 +263,7 @@ def main(argv):
except: except:
pass # getpid not supported pass # getpid not supported
else: else:
open(env.zeo_pid,'w').write("%s %s" % (ppid, pid)) open(env.zeo_pid,'w').write("%s %s\n" % (ppid, pid))
except: except:
# Log startup exception and tell zdaemon not to restart us. # Log startup exception and tell zdaemon not to restart us.
......
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