dependency/repo: do not suppress OSError on info() (#10533)

This commit is contained in:
skshetry
2024-08-20 18:14:21 +05:45
committed by GitHub
parent 81db9b4572
commit 2dcaea8119
+1 -1
View File
@@ -105,7 +105,7 @@ class RepoDependency(Dependency):
try:
hash_info = self.fs.info(src_path)["dvc_info"]["entry"].hash_info
dest_info = to.fs.info(dest_path)
except (OSError, KeyError, AttributeError):
except (KeyError, AttributeError):
# If no hash info found, just keep going and output will be hashed later
continue
if hash_info: