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
bfcd9c0e
Commit
bfcd9c0e
authored
Jun 15, 2018
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! download: verify checksum of downloaded data
parent
2375ce5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
slapos/libnetworkcache.py
slapos/libnetworkcache.py
+1
-1
No files found.
slapos/libnetworkcache.py
View file @
bfcd9c0e
...
...
@@ -94,7 +94,7 @@ class CheckResponse(object):
self
.
_sha512sum
.
update
(
r
)
elif
amt
!=
0
and
self
.
_expected
!=
self
.
_sha512sum
.
hexdigest
():
raise
NetworkcacheException
(
'Failed to
up
load data to SHACACHE Server: invalid checksum.'
)
'Failed to
down
load data to SHACACHE Server: invalid checksum.'
)
return
r
class
NetworkcacheClient
(
object
):
...
...
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