diff --git a/hermetic_build/common/model/config_change.py b/hermetic_build/common/model/config_change.py index fd1b0aca6a..10edab2873 100644 --- a/hermetic_build/common/model/config_change.py +++ b/hermetic_build/common/model/config_change.py @@ -105,7 +105,7 @@ def get_qualified_commits( :param repo_url: the repository contains the commit history. :return: QualifiedCommit objects. """ - with tempfile.TemporaryDirectory(ignore_cleanup_errors=True) as tmp_dir: + with tempfile.TemporaryDirectory() as tmp_dir: # we only need commit history, thus a shadow clone is enough. repo = Repo.clone_from(url=repo_url, to_path=tmp_dir, filter=["blob:none"]) commit = repo.commit(self.current_config.googleapis_commitish)