##// END OF EJS Templates
Merge pull request #1160 from ipython/inputhookqt4...
Merge pull request #1160 from ipython/inputhookqt4 Don't ignore ctrl-C during `%gui qt` PR #815 ignores ctrl-C during normal code execution, this restores the sigint handler outside the inputhook. Closes #1157.

File last commit:

r4856:d3ee41f9
r5744:464cb892 merge
Show More
__init__.py
12 lines | 305 B | text/x-python | PythonLexer
"""The IPython HTML Notebook"""
# check for tornado 2.1.0
msg = "The IPython Notebook requires tornado >= 2.1.0"
try:
import tornado
except ImportError:
raise ImportError(msg)
else:
if tornado.version_info < (2,1,0):
raise ImportError(msg+", but you have %s"%tornado.version)
del msg