未验证 提交 35c8e974 编写于 作者: W Wang Meng 提交者: GitHub

Merge pull request #6497 from will-am/fix_6495

Fix wrong index in dataset downloading exception
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册