You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2018/02/08 02:44:10 UTC
[incubator-mxnet] branch master updated: fix FileNotFoundError
error (#9739)
This is an automated email from the ASF dual-hosted git repository.
zhasheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new d4645ce fix FileNotFoundError error (#9739)
d4645ce is described below
commit d4645ce9c92f6841f6966244f026c84674166bc3
Author: chsin <ch...@users.noreply.github.com>
AuthorDate: Wed Feb 7 21:44:01 2018 -0500
fix FileNotFoundError error (#9739)
FileNotFoundError not available in python2.7, use IOError instead (https://stackoverflow.com/questions/21367320/searching-for-equivalent-of-filenotfounderror-in-python-2)
---
tools/diagnose.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/diagnose.py b/tools/diagnose.py
index adb621d..0f878f9 100644
--- a/tools/diagnose.py
+++ b/tools/diagnose.py
@@ -110,7 +110,7 @@ def check_mxnet():
print('Commit Hash :', ch)
except ImportError:
print('No MXNet installed.')
- except FileNotFoundError:
+ except IOError:
print('Hashtag not found. Not installed from pre-built package.')
except Exception as e:
import traceback
--
To stop receiving notification emails like this one, please contact
zhasheng@apache.org.