revisor/__init__.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 43b9135d65d4bf1d51325cb40457672db0142330 Author: Jeroen van Meeuwen (Fedora Unity) <kana...@fedoraunity.org> Date: Mon Feb 23 19:25:52 2009 +0100 Ignore errors in the other shutil.rmtree() too diff --git a/revisor/__init__.py.in b/revisor/__init__.py.in index 9415a37..4eec8f8 100644 --- a/revisor/__init__.py.in +++ b/revisor/__init__.py.in @@ -522,6 +522,6 @@ class Revisor: # Remove everything for dir in ["revisor-yumcache"]: if os.access(os.path.join(self.base.cfg.working_directory, dir), os.R_OK): - shutil.rmtree(os.path.join(self.base.cfg.working_directory, dir)) + shutil.rmtree(os.path.join(self.base.cfg.working_directory, dir), ignore_errors=True) sys.exit(exitcode) _______________________________________________ revisor-devel mailing list revisor-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/revisor-devel