Merge pull request #10189 from boxofrad/devel

Ignore errors from `shutil.rmtree` when removing temporary directory
pull/10192/head
Brian Coca 10 years ago
commit 76a5dd7f62

@ -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…
Cancel
Save