From: Zac Medico Date: Thu, 30 Apr 2009 07:09:07 +0000 (-0000) Subject: Bug #265768 - Handle CacheError when deleting currupt cache inside X-Git-Tag: v2.1.6.12~77 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a0d338df2f759f83fc9d228ea2050663eea1fff3;p=portage.git Bug #265768 - Handle CacheError when deleting currupt cache inside portdbapi._pull_valid_cache(). (trunk r13331) svn path=/main/branches/2.1.6/; revision=13496 --- 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: