From a0d338df2f759f83fc9d228ea2050663eea1fff3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 30 Apr 2009 07:09:07 +0000 Subject: [PATCH] Bug #265768 - Handle CacheError when deleting currupt cache inside portdbapi._pull_valid_cache(). (trunk r13331) svn path=/main/branches/2.1.6/; revision=13496 --- pym/portage/dbapi/porttree.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index 64212084d..ed9ed99a4 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -486,6 +486,8 @@ class portdbapi(dbapi): del auxdb[cpv] except KeyError: pass + except CacheError: + pass else: eapi = metadata.get('EAPI', '').strip() if not eapi: -- 2.26.2