diff --git a/conda_build/utils.py b/conda_build/utils.py index 470c6985e3..6fcceac7e9 100644 --- a/conda_build/utils.py +++ b/conda_build/utils.py @@ -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"?")