Commit 76a5dd7f by Brian Coca

Merge pull request #10189 from boxofrad/devel

Ignore errors from `shutil.rmtree` when removing temporary directory
parents 98201652 78fb1365
......@@ -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