Remove unnecessary wrapping of path

This commit is contained in:
Aman Sharma
2019-11-03 02:38:50 +05:30
parent d454cb8637
commit cffc9c8ed9
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ def get_mtime_and_size(path, dvcignore):
files_mtimes = {}
for file_path in walk_files(path, dvcignore):
try:
stat = os.stat(fspath_py35(file_path))
stat = os.stat(file_path)
except OSError as exc:
# NOTE: broken symlink case.
if exc.errno != errno.ENOENT: