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

Jeremy Hylton jeremy@zope.com
Wed, 19 Dec 2001 18:41:39 -0500


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

Modified Files:
      Tag: StandaloneZODB-1_0-branch
	forker.py 
Log Message:
Pass modified copy of os.environ not the original.

This was caused by a merge-from-branch bug.


=== StandaloneZODB/ZEO/tests/forker.py 1.10.2.1 => 1.10.2.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: