[Zodb-checkins] CVS: StandaloneZODB/ZEO/tests - forker.py:1.10.4.2

Guido van Rossum guido@python.org
Tue, 18 Dec 2001 16:48:27 -0500


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

Modified Files:
      Tag: Standby-branch
	forker.py 
Log Message:
start_zeo_server(): Fix bogus code introduced by merge (wrong copy of
os.environ passed to spawnve).


=== StandaloneZODB/ZEO/tests/forker.py 1.10.4.1 => 1.10.4.2 ===
         d = os.environ.copy()
         d['PYTHONPATH'] = os.pathsep.join(sys.path)
-        pid = os.spawnve(os.P_NOWAIT, sys.executable, args, os.environ)
+        pid = os.spawnve(os.P_NOWAIT, sys.executable, args, d)
         return ('localhost', port), ('localhost', port + 1), pid
 
 else: