Ignore errors for rmtree after archive extraction
The folder was there and it was empty. It looks like https://github.com/python/cpython/issues/128076. Signed-off-by: Dominika Vesela <dhodovsk@redhat.com> (cherry picked from commit 6569e5726298af8fdb5f6d54cd37b1b3d409de8d)
This commit is contained in:
parent
05ded4aaa8
commit
363a28f561
@ -459,4 +459,4 @@ def download_and_extract_archive(compose, task_id, fname, destination):
|
||||
local_path = _download_archive(task_id, fname, archive_url, tmp_dir)
|
||||
_extract_archive(task_id, fname, local_path, destination)
|
||||
finally:
|
||||
shutil.rmtree(tmp_dir)
|
||||
shutil.rmtree(tmp_dir, ignore_errors=True)
|
||||
|
Loading…
Reference in New Issue
Block a user