diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-02-18 17:53:15 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-02-18 17:53:15 -0500 |
commit | b3e6ec603b41b5dee4c6229d4a68586b44bc0433 (patch) | |
tree | 00db4a2942dd707f43f1a62cee70eefdd6b3911f /cmd2.py | |
parent | f547ca26deeab436e875f4f3fdefe6c733445293 (diff) | |
download | cmd2-git-b3e6ec603b41b5dee4c6229d4a68586b44bc0433.tar.gz |
Changed a ModuleNotFoundErorr to ImportError for Python 2/3 compatibility
Diffstat (limited to 'cmd2.py')
-rwxr-xr-x | cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -76,7 +76,7 @@ except NameError: ipython_available = True try: from IPython import embed -except ModuleNotFoundError: +except ImportError: ipython_available = False __version__ = '0.7.0' |