Bug #265768 - Handle CacheError when deleting currupt cache inside
portdbapi._pull_valid_cache().

svn path=/main/trunk/; revision=13331
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index 6421208..ed9ed99 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -486,6 +486,8 @@
 						del auxdb[cpv]
 					except KeyError:
 						pass
+					except CacheError:
+						pass
 			else:
 				eapi = metadata.get('EAPI', '').strip()
 				if not eapi: