szha commented on a change in pull request #12572: Make Gluon download function 
to be atomic
URL: https://github.com/apache/incubator-mxnet/pull/12572#discussion_r224203439
 
 

 ##########
 File path: python/mxnet/gluon/utils.py
 ##########
 @@ -231,7 +289,7 @@ def download(url, path=None, overwrite=False, 
sha1_hash=None, retries=5, verify_
             fname = os.path.join(path, url.split('/')[-1])
         else:
             fname = path
-    assert retries >= 0, "Number of retries should be at least 0"
+    assert retries >= 0, 'Number of retries should be at least 0'
 
 Review comment:
   include the value of retries in the error message.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to