mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
require terminado >= 0.3.3 for terminal handlers
This commit is contained in:
parent
1c2a28c6e2
commit
ac7454b0d5
@ -1,4 +1,11 @@
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
|
import terminado
|
||||||
|
from IPython.utils.version import check_version
|
||||||
|
|
||||||
|
if not check_version(terminado.__version__, '0.3.3'):
|
||||||
|
raise ImportError("terminado >= 0.3.3 required, found %s" % terminado.__version__)
|
||||||
|
|
||||||
from terminado import NamedTermManager
|
from terminado import NamedTermManager
|
||||||
from tornado.log import app_log
|
from tornado.log import app_log
|
||||||
from IPython.html.utils import url_path_join as ujoin
|
from IPython.html.utils import url_path_join as ujoin
|
||||||
|
Loading…
Reference in New Issue
Block a user