Commit a9d1c2d2 authored by Jim Fulton's avatar Jim Fulton

Fixed a problem in temp file cleanup.

parent 768d6b00
...@@ -9,7 +9,7 @@ eggs = ZODB3 ...@@ -9,7 +9,7 @@ eggs = ZODB3
initialization = initialization =
import os, tempfile, shutil, stat import os, tempfile, shutil, stat
[[os.chmod(os.path.join(path, f), stat.S_IWUSR) for f in files] [[os.chmod(os.path.join(path, f), stat.S_IWUSR) for f in files]
for (path, dirs, files) in os.walk(os.getcwd())] for (path, dirs, files) in os.walk('tmp')]
if os.path.exists('tmp'): shutil.rmtree('tmp') if os.path.exists('tmp'): shutil.rmtree('tmp')
os.mkdir('tmp') os.mkdir('tmp')
tempfile.tempdir = os.path.abspath('tmp') tempfile.tempdir = os.path.abspath('tmp')
......
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