Merge pull request #6497 from will-am/fix_6495

Fix wrong index in dataset downloading exception
del_some_in_makelist
Wang Meng 8 years ago committed by GitHub
commit 35c8e974a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -71,7 +71,7 @@ def download(url, module_name, md5sum):
if retry < retry_limit:
retry += 1
else:
raise RuntimeError("Cannot download {0} within retry limit {2}".
raise RuntimeError("Cannot download {0} within retry limit {1}".
format(url, retry_limit))
print "Cache file %s not found, downloading %s" % (filename, url)
r = requests.get(url, stream=True)

Loading…
Cancel
Save