From 58624e0230866a7b55833c2ad66bcb29da28685a Mon Sep 17 00:00:00 2001 From: Saugat Pachhai Date: Tue, 19 Nov 2019 21:52:33 +0545 Subject: [PATCH] utils/fs: use fspath_py35 instead of fspath --- dvc/utils/fs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/utils/fs.py b/dvc/utils/fs.py index cb15088ea..1b5157616 100644 --- a/dvc/utils/fs.py +++ b/dvc/utils/fs.py @@ -140,7 +140,7 @@ def path_isin(child, parent): """Check if given `child` path is inside `parent`.""" def normalize_path(path): - return os.path.normpath(fspath(path)) + return os.path.normpath(fspath_py35(path)) parent = os.path.join(normalize_path(parent), "") child = normalize_path(child)