Ignore errors from shutil.rmtree
when removing temporary directory
This commit is contained in:
parent
853733c1cd
commit
78fb13657a
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
|
print " in directory %s" % tempdir
|
||||||
return False
|
return False
|
||||||
|
|
||||||
shutil.rmtree(tempdir)
|
shutil.rmtree(tempdir, ignore_errors=True)
|
||||||
|
|
||||||
return temp_file.name
|
return temp_file.name
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue