mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
Switch to jupyter_core implementation of ensure_dir_exists
Closes gh-2858 Requires jupyter_core 4.4.0, which I just released.
This commit is contained in:
parent
4304d5ade5
commit
059c2b77fc
@ -24,7 +24,7 @@ from jupyter_core.paths import (
|
||||
jupyter_data_dir, jupyter_config_path, jupyter_path,
|
||||
SYSTEM_JUPYTER_PATH, ENV_JUPYTER_PATH,
|
||||
)
|
||||
from ipython_genutils.path import ensure_dir_exists
|
||||
from jupyter_core.utils import ensure_dir_exists
|
||||
from ipython_genutils.py3compat import string_types, cast_unicode_py2
|
||||
from ipython_genutils.tempdir import TemporaryDirectory
|
||||
from ._version import __version__
|
||||
|
@ -12,7 +12,7 @@ from .checkpoints import (
|
||||
)
|
||||
from .fileio import FileManagerMixin
|
||||
|
||||
from ipython_genutils.path import ensure_dir_exists
|
||||
from jupyter_core.utils import ensure_dir_exists
|
||||
from ipython_genutils.py3compat import getcwd
|
||||
from traitlets import Unicode
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user