Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Nov 26, 2024
1 parent a950958 commit d97d081
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conda_build/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2071,7 +2071,9 @@ def compute_content_hash(
for chunk in iter(partial(fh.read, 8192), b""):
hasher.update(chunk)
except OSError as exc:
log.warning("Can't open file %s. Hashing path only...", path.name, exc_info=exc)
log.warning(
"Can't open file %s. Hashing path only...", path.name, exc_info=exc
)
else:
log.warning("Can't detect type for path %s. Hashing path only...", path)
hasher.update(b"?")
Expand Down

0 comments on commit d97d081

Please sign in to comment.