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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos.buildout
Commits
aec64a48
Commit
aec64a48
authored
Jul 23, 2009
by
Thomas Lotze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed atexit handler for removing a temporary download target
parent
841305a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/zc/buildout/download.py
src/zc/buildout/download.py
+1
-3
No files found.
src/zc/buildout/download.py
View file @
aec64a48
...
...
@@ -18,7 +18,6 @@ try:
except
ImportError
:
from
md5
import
new
as
md5
from
zc.buildout.easy_install
import
realpath
import
atexit
import
logging
import
os
import
os.path
...
...
@@ -133,7 +132,7 @@ class Download(object):
An online resource is always downloaded to a temporary file and moved
to the specified path only after the download is complete and the
checksum (if given) matches. If path is None, the temporary file is
returned and
scheduled for deletion at process exit
.
returned and
the client code is responsible for cleaning it up
.
"""
parsed_url
=
urlparse
.
urlparse
(
url
,
'file'
)
...
...
@@ -164,7 +163,6 @@ class Download(object):
shutil
.
move
(
tmp_path
,
path
)
return
path
else
:
atexit
.
register
(
remove
,
tmp_path
)
return
tmp_path
def
filename
(
self
,
url
):
...
...
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