summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-03-27 20:43:55 +0000
committerLars Wirzenius <liw@liw.fi>2014-03-27 20:43:55 +0000
commit811b19e5eef5be34d30d8a9724800e12ebe6e233 (patch)
treedfed54a1c7962d3037f2273446be11e4b8b3c79d
parented1c176dd2b45f7f3255d2bbfd1deeda5912c355 (diff)
downloadcmdtest-811b19e5eef5be34d30d8a9724800e12ebe6e233.tar.gz
Ignore errors when removing DATADIR as well
-rwxr-xr-xyarn2
1 files changed, 1 insertions, 1 deletions
diff --git a/yarn b/yarn
index c34ccbb..0896f8d 100755
--- a/yarn
+++ b/yarn
@@ -351,7 +351,7 @@ class YarnRunner(cliapp.Application):
break
if not self.settings['snapshot']:
- shutil.rmtree(tempdir)
+ shutil.rmtree(tempdir, ignore_errors=True)
self.remember_scenario_timing(time.time() - started)
return ok