Skip to content

Commit

Permalink
utils/fs: use fspath_py35 instead of fspath
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry committed Nov 19, 2019
1 parent f07a70a commit 58624e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dvc/utils/fs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 58624e0

Please sign in to comment.