From 49c853ef7cf2f21d6e2358a4ab0bddcb0713c082 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sat, 12 Mar 2022 06:04:12 -0600 Subject: [PATCH] Remove usage of ipython_genutils Avoids implicit dependency that is no longer required --- nbdime/config.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nbdime/config.py b/nbdime/config.py index 450d9af2..9768b3ad 100644 --- a/nbdime/config.py +++ b/nbdime/config.py @@ -1,7 +1,6 @@ import os -from ipython_genutils import py3compat from jupyter_core.paths import jupyter_config_path from traitlets import Unicode, Enum, Integer, Bool, HasTraits, Dict, TraitError @@ -81,7 +80,7 @@ def build_config(entrypoint, include_none=False): # Get config from disk: disk_config = {} path = jupyter_config_path() - path.insert(0, py3compat.getcwd()) + path.insert(0, os.getcwd()) for c in _load_config_files('nbdime_config', path=path): recursive_update(disk_config, c, include_none)