Commit 1c56c6a3 by Daniel Upton Committed by James Cammarata

Ignore errors from `shutil.rmtree` when removing temporary directory

parent 8c5f7207
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment