mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-09 23:10:24 +01:00
utils/fs: use fspath_py35 instead of fspath
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user