[Zodb-checkins] CVS: StandaloneZODB/ZEO - util.py:1.2

Barry Warsaw barry@wooz.org
Fri, 16 Aug 2002 14:16:07 -0400


Update of /cvs-repository/StandaloneZODB/ZEO
In directory cvs.zope.org:/tmp/cvs-serv9663

Modified Files:
	util.py 
Log Message:
Environment.__init__(): ZEO_SERVER.pid should live in the var
directory, so it should be joined to self.var, not the local variable
`v'.


=== StandaloneZODB/ZEO/util.py 1.1 => 1.2 ===
--- StandaloneZODB/ZEO/util.py:1.1	Thu Aug  1 14:50:28 2002
+++ StandaloneZODB/ZEO/util.py	Fri Aug 16 14:16:07 2002
@@ -44,7 +44,7 @@
 
         pid = os.environ.get("ZEO_SERVER_PID")
         if pid is None:
-            pid = os.path.join(v, "ZEO_SERVER.pid")
+            pid = os.path.join(self.var, "ZEO_SERVER.pid")
         self.zeo_pid = pid    
         
         self.fs = os.path.join(self.var, "Data.fs")