Skip to content

Commit b4a2ad9

Browse files
authored
Merge pull request #5222 from kinow/patch-2
Update message about minimum Tornado version
2 parents df887b2 + 619d534 commit b4a2ad9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

notebook/notebookapp.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@
5454
try:
5555
import tornado
5656
except ImportError:
57-
raise ImportError(_("The Jupyter Notebook requires tornado >= 4.0"))
57+
raise ImportError(_("The Jupyter Notebook requires tornado >= 5.0"))
5858
try:
5959
version_info = tornado.version_info
6060
except AttributeError:
61-
raise ImportError(_("The Jupyter Notebook requires tornado >= 4.0, but you have < 1.1.0"))
62-
if version_info < (4,0):
63-
raise ImportError(_("The Jupyter Notebook requires tornado >= 4.0, but you have %s") % tornado.version)
61+
raise ImportError(_("The Jupyter Notebook requires tornado >= 5.0, but you have < 1.1.0"))
62+
if version_info < (5,0):
63+
raise ImportError(_("The Jupyter Notebook requires tornado >= 5.0, but you have %s") % tornado.version)
6464

6565
from tornado import httpserver
6666
from tornado import web

0 commit comments

Comments
 (0)