##// END OF EJS Templates
Keep track of seen documents to reset line counts across pages
Keep track of seen documents to reset line counts across pages

File last commit:

r6132:2959fa0a
r6137:724ec792
Show More
__init__.py
15 lines | 409 B | text/x-python | PythonLexer
MinRK
update tornado dependency to 2.1...
r4856 """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)
Matthew Brett
Fix for tornado check for tornado < 1.1.0...
r6132 try:
version_info = tornado.version_info
except AttributeError:
raise ImportError(msg + ", but you have < 1.1.0")
if version_info < (2,1,0):
raise ImportError(msg + ", but you have %s" % tornado.version)
MinRK
update tornado dependency to 2.1...
r4856 del msg