diff options
author | Daniel Upton <daniel@floppy.co> | 2015-02-09 14:33:48 +0100 |
---|---|---|
committer | Daniel Upton <daniel@floppy.co> | 2015-02-09 14:33:48 +0100 |
commit | 78fb13657aea63802c267fc1e7a3a5c32693383a (patch) | |
tree | b0f9707e0777a6d5baf1023ab29505f771ef1dc3 /bin/ansible-galaxy | |
parent | Merge pull request #10184 from mixpix3ls/ticket-9845 (diff) | |
download | ansible-78fb13657aea63802c267fc1e7a3a5c32693383a.tar.xz ansible-78fb13657aea63802c267fc1e7a3a5c32693383a.zip |
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 |