Skip to content

Commit

Permalink
[ipython] Fix IPython miss match version
Browse files Browse the repository at this point in the history
If IPython system version missmatches the one we expect with pudb then
it will throw a ValueError when we try to import it, that says we need a
fallback mode, this exception can be handled and simply disable IPython
  • Loading branch information
manuelnaranjo committed Apr 27, 2015
1 parent 4207fb5 commit 354b8ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pudb/shell.py
@@ -1,6 +1,6 @@
try:
import IPython
except ImportError:
except (ImportError, ValueError):
HAVE_IPYTHON = False
else:
HAVE_IPYTHON = True
Expand Down

0 comments on commit 354b8ea

Please sign in to comment.