Ignore errors from shutil.rmtree
when removing temporary directory
This commit is contained in:
parent
8c5f7207f0
commit
1c56c6a3b7
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…
Reference in a new issue