[Zodb-checkins] CVS: ZODB3/ZEO - start.py:1.46

Guido van Rossum guido@python.org
Mon, 7 Oct 2002 17:15:52 -0400


Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv18723

Modified Files:
	start.py 
Log Message:
Get rid of unused variable.
Get rid of $Id$ in docstring (it's seen rarely in ZEO).
Append a newline to the pid file.


=== ZODB3/ZEO/start.py 1.45 => 1.46 ===
--- ZODB3/ZEO/start.py:1.45	Sun Sep 22 21:52:50 2002
+++ ZODB3/ZEO/start.py	Mon Oct  7 17:15:52 2002
@@ -11,10 +11,8 @@
 # FOR A PARTICULAR PURPOSE
 #
 ##############################################################################
-"""Start the server storage.
+"""Start the ZEO storage server."""
 
-$Id$
-"""
 from __future__ import nested_scopes
 
 import sys, os, getopt
@@ -106,7 +104,7 @@
     env = Environment(me)
 
     # XXX hack for profiling support
-    global unix, storages, zeo_pid, asyncore
+    global unix, storages, asyncore
 
     args = []
     last = ''
@@ -172,7 +170,7 @@
     port = None
     debug = 0
     host = ''
-    unix =None
+    unix = None
     Z = 1
     UID = 'nobody'
     prof = None
@@ -265,7 +263,7 @@
         except:
             pass # getpid not supported
         else:
-            open(env.zeo_pid,'w').write("%s %s" % (ppid, pid))
+            open(env.zeo_pid,'w').write("%s %s\n" % (ppid, pid))
 
     except:
         # Log startup exception and tell zdaemon not to restart us.