From 9c2685695755ee64221185aa8103e836bd0aee76 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 12 Apr 2009 05:32:04 +0000 Subject: [PATCH] Bug #265768 - Handle CacheError when deleting currupt cache inside portdbapi._pull_valid_cache(). svn path=/main/trunk/; revision=13331 --- 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