Commit b55cc1c9 authored by Julien Muchembled's avatar Julien Muchembled

typo

parent 53275e23
...@@ -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,
......
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