mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 04:34:24 -07:00
Merge pull request #10189 from boxofrad/devel
Ignore errors from `shutil.rmtree` when removing temporary directory
This commit is contained in:
commit
76a5dd7f62
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ def scm_archive_role(scm, role_url, role_version, role_name):
|
|||
print " in directory %s" % tempdir
|
||||
return False
|
||||
|
||||
shutil.rmtree(tempdir)
|
||||
shutil.rmtree(tempdir, ignore_errors=True)
|
||||
|
||||
return temp_file.name
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue