summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-12 05:32:04 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-12 05:32:04 +0000
commit9c2685695755ee64221185aa8103e836bd0aee76 (patch)
tree2bf4e460337ff8b2978d54b210bccef758ca586c
parentAdd a note about egencache to the --regen docs. (diff)
downloadportage-multirepo-9c2685695755ee64221185aa8103e836bd0aee76.tar.gz
portage-multirepo-9c2685695755ee64221185aa8103e836bd0aee76.tar.bz2
portage-multirepo-9c2685695755ee64221185aa8103e836bd0aee76.zip
Bug #265768 - Handle CacheError when deleting currupt cache insidev2.2_rc30
portdbapi._pull_valid_cache(). svn path=/main/trunk/; revision=13331
-rw-r--r--pym/portage/dbapi/porttree.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index 64212084..ed9ed99a 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: