From 78fb13657aea63802c267fc1e7a3a5c32693383a Mon Sep 17 00:00:00 2001 From: Daniel Upton Date: Mon, 9 Feb 2015 13:33:48 +0000 Subject: Ignore errors from `shutil.rmtree` when removing temporary directory --- bin/ansible-galaxy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ansible-galaxy') 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 -- cgit v1.2.1