From d702d435e10f7800c9a08a5c7367720f62c3988b Mon Sep 17 00:00:00 2001 From: Joe Wang Date: Wed, 11 Dec 2024 19:49:15 -0500 Subject: [PATCH] restore --- hermetic_build/common/model/config_change.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)