Bug #265768 - Handle CacheError when deleting currupt cache inside v2.2_rc30
authorZac Medico <zmedico@gentoo.org>
Sun, 12 Apr 2009 05:32:04 +0000 (05:32 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 12 Apr 2009 05:32:04 +0000 (05:32 -0000)
portdbapi._pull_valid_cache().

svn path=/main/trunk/; revision=13331

pym/portage/dbapi/porttree.py

index 64212084df77f9421abee2b4a7516c9a0d6cc38d..ed9ed99a43db248f0bac5294c1e9590a440b79d5 100644 (file)
@@ -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: