Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
isaak yansane-sisk
slapos.buildout
Commits
c3896fa7
Commit
c3896fa7
authored
Mar 19, 2007
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a cleanup bug that caused temporary directories to get left behind.
parent
96db91f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/zc/buildout/testing.py
src/zc/buildout/testing.py
+2
-2
No files found.
src/zc/buildout/testing.py
View file @
c3896fa7
...
...
@@ -157,8 +157,8 @@ def buildoutSetUp(test):
del
os
.
environ
[
'HOME'
]
# pop doesn't truly remove it :(
register_teardown
(
lambda
:
os
.
environ
.
__setitem__
(
'HOME'
,
old_home
))
base
=
tempfile
.
mkdtemp
()
register_teardown
(
lambda
:
shutil
.
rmtree
(
base
))
base
=
tempfile
.
mkdtemp
(
'buildoutSetUp'
)
register_teardown
(
lambda
base
=
base
:
shutil
.
rmtree
(
base
))
base
=
os
.
path
.
join
(
base
,
'_TEST_'
)
os
.
mkdir
(
base
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment