Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.libnetworkcache
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.libnetworkcache
Commits
b55cc1c9
Commit
b55cc1c9
authored
Jul 02, 2013
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo
parent
53275e23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
slapos/libnetworkcache.py
slapos/libnetworkcache.py
+0
-3
No files found.
slapos/libnetworkcache.py
View file @
b55cc1c9
...
@@ -233,9 +233,6 @@ class NetworkcacheClient(object):
...
@@ -233,9 +233,6 @@ class NetworkcacheClient(object):
def
download
(
self
,
sha512sum
):
def
download
(
self
,
sha512sum
):
''' Download the file.
''' Download the file.
It uses http GET request method.
It uses http GET request method.
# do not trust, go to beginning of opened file
file_descriptor.seek(0)
file_descriptor = hashing_file(file_descriptor)
'''
'''
sha_cache_url
=
urljoin
(
self
.
shacache_url
,
sha512sum
)
sha_cache_url
=
urljoin
(
self
.
shacache_url
,
sha512sum
)
request
=
urllib2
.
Request
(
url
=
sha_cache_url
,
data
=
None
,
request
=
urllib2
.
Request
(
url
=
sha_cache_url
,
data
=
None
,
...
...
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