Explain IPy fix

This commit is contained in:
Andreas Kloeckner 2015-04-27 17:21:51 -05:00
parent 27111c3885
commit fd949e85e5

View File

@ -1,6 +1,9 @@
try:
import IPython
except (ImportError, ValueError):
# Old IPythons versions (0.12?) may fail to import with
# ValueError: fallback required, but not specified
# https://github.com/inducer/pudb/pull/135
HAVE_IPYTHON = False
else:
HAVE_IPYTHON = True