Commit 27a4c700 authored by Jim Fulton's avatar Jim Fulton

Don't remove tmp from parts on startup. Doing so causes problems when

running layers in separate parallel processes.
parent c8a4881d
...@@ -7,11 +7,9 @@ find-links = http://download.zope.org/distribution/ ...@@ -7,11 +7,9 @@ find-links = http://download.zope.org/distribution/
recipe = zc.recipe.testrunner recipe = zc.recipe.testrunner
eggs = ZODB3 eggs = ZODB3
initialization = initialization =
import os, tempfile, shutil, stat import os, tempfile
[[os.chmod(os.path.join(path, f), stat.S_IWUSR) for f in files] try: os.mkdir('tmp')
for (path, dirs, files) in os.walk('tmp')] except: pass
if os.path.exists('tmp'): shutil.rmtree('tmp')
os.mkdir('tmp')
tempfile.tempdir = os.path.abspath('tmp') tempfile.tempdir = os.path.abspath('tmp')
[scripts] [scripts]
......
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