diff options
author | Daniel Upton <daniel@floppy.co> | 2015-02-09 13:33:48 +0000 |
---|---|---|
committer | Daniel Upton <daniel@floppy.co> | 2015-02-09 13:33:48 +0000 |
commit | 78fb13657aea63802c267fc1e7a3a5c32693383a (patch) | |
tree | b0f9707e0777a6d5baf1023ab29505f771ef1dc3 /bin/ansible-galaxy | |
parent | 853733c1cdbf5da10e7a3590eead003290cdb835 (diff) | |
download | ansible-78fb13657aea63802c267fc1e7a3a5c32693383a.tar.gz |
Ignore errors from `shutil.rmtree` when removing temporary directory
Diffstat (limited to 'bin/ansible-galaxy')
-rwxr-xr-x | bin/ansible-galaxy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ansible-galaxy b/bin/ansible-galaxy index 5fd92dde2c..00bb8d12dd 100755 --- a/bin/ansible-galaxy +++ b/bin/ansible-galaxy @@ -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 |