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
Łukasz Nowak
slapos.buildout
Commits
779d8687
Commit
779d8687
authored
Jun 23, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow argument position change.
parent
5bb1c15f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/zc/buildout/download.py
src/zc/buildout/download.py
+2
-2
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+2
-2
No files found.
src/zc/buildout/download.py
View file @
779d8687
...
...
@@ -192,8 +192,8 @@ class Download(object):
'MD5 checksum mismatch downloading %r'
%
url
)
# Upload the file to networkcached.
if
self
.
upload_cache_url
and
self
.
upload_dir_url
:
upload_network_cached
(
self
.
upload_
cache
_url
,
self
.
upload_
dir
_url
,
url
,
tmp_path
,
self
.
logger
)
upload_network_cached
(
self
.
upload_
dir
_url
,
self
.
upload_
cache
_url
,
url
,
tmp_path
,
self
.
logger
)
finally
:
os
.
close
(
handle
)
except
:
...
...
src/zc/buildout/easy_install.py
View file @
779d8687
...
...
@@ -723,8 +723,8 @@ class Installer:
new_location
,
dist
.
location
,
logger
):
new_location
=
self
.
_index
.
download
(
dist
.
location
,
tmp
)
if
self
.
_upload_cache_url
and
self
.
_upload_dir_url
:
upload_network_cached
(
self
.
_upload_
cache
_url
,
self
.
_upload_dir
_url
,
dist
.
location
,
new_location
,
logger
)
upload_network_cached
(
self
.
_upload_
dir
_url
,
self
.
_upload_cache
_url
,
dist
.
location
,
new_location
,
logger
)
if
(
download_cache
and
(
realpath
(
new_location
)
==
realpath
(
dist
.
location
))
...
...
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