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
Thomas Leymonerie
slapos.buildout
Commits
841305a5
Commit
841305a5
authored
Jul 23, 2009
by
Thomas Lotze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed test failures on Windows due to a temporary file left open (thanks to Yvo Schubbe)
parent
c6e32ef6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/zc/buildout/download.py
src/zc/buildout/download.py
+1
-0
No files found.
src/zc/buildout/download.py
View file @
841305a5
...
...
@@ -154,6 +154,7 @@ class Download(object):
urllib
.
_urlopener
=
url_opener
handle
,
tmp_path
=
tempfile
.
mkstemp
(
prefix
=
'buildout-'
)
tmp_path
,
headers
=
urllib
.
urlretrieve
(
url
,
tmp_path
)
os
.
close
(
handle
)
if
not
check_md5sum
(
tmp_path
,
md5sum
):
os
.
remove
(
tmp_path
)
raise
ChecksumError
(
...
...
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