##// END OF EJS Templates
restore '-V' cmdline option for printing version...
restore '-V' cmdline option for printing version Preserves compatibility with pre-0.11 call, which was broken unnecessarily. closes gh-926

File last commit:

r4856:d3ee41f9
r5196:df951f48
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