Commit bfcd9c0e authored by Julien Muchembled's avatar Julien Muchembled

fixup! download: verify checksum of downloaded data

parent 2375ce5c
......@@ -94,7 +94,7 @@ class CheckResponse(object):
self._sha512sum.update(r)
elif amt != 0 and self._expected != self._sha512sum.hexdigest():
raise NetworkcacheException(
'Failed to upload data to SHACACHE Server: invalid checksum.')
'Failed to download data to SHACACHE Server: invalid checksum.')
return r
class NetworkcacheClient(object):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment