anirudhacharya 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_r218220481
 
 

 ##########
 File path: python/mxnet/gluon/utils.py
 ##########
 @@ -195,6 +197,39 @@ def check_sha1(filename, sha1_hash):
     return sha1.hexdigest() == sha1_hash
 
 
+if sys.platform != 'win32':
 
 Review comment:
   use `startswith` method as recommended here 
https://docs.python.org/2/library/sys.html#sys.platform and how will `cygwin` 
platform be handled?

----------------------------------------------------------------
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