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
Ophélie Gagnard
slapos.libnetworkcache
Commits
2296ca91
Commit
2296ca91
authored
Jun 23, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return True on success.
parent
f146a207
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
slapos/libnetworkcache.py
slapos/libnetworkcache.py
+1
-2
No files found.
slapos/libnetworkcache.py
View file @
2296ca91
...
@@ -117,8 +117,7 @@ class NetworkcacheClient(object):
...
@@ -117,8 +117,7 @@ class NetworkcacheClient(object):
raise
UploadError
(
'Failed to upload data to SHADIR Server.'
\
raise
UploadError
(
'Failed to upload data to SHADIR Server.'
\
'URL: %s. Response code: %s. Response data: %s'
%
\
'URL: %s. Response code: %s. Response data: %s'
%
\
(
self
.
shacache_host
,
result
.
status
,
data
))
(
self
.
shacache_host
,
result
.
status
,
data
))
return
True
return
json
.
loads
(
data
)
def
download
(
self
,
sha512sum
):
def
download
(
self
,
sha512sum
):
''' Download the file.
''' Download the file.
...
...
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