Skip to content

Commit

Permalink
dependency/repo: do not suppress OSError on info() (#10533)
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry authored Aug 20, 2024
1 parent 81db9b4 commit 2dcaea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dvc/dependency/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def download(self, to: "Output", jobs: Optional[int] = None):
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:
Expand Down

0 comments on commit 2dcaea8

Please sign in to comment.