From: Zac Medico Date: Fri, 14 Oct 2011 00:23:28 +0000 (-0700) Subject: _pull_valid_cache: fix readonly delete logic X-Git-Tag: v2.2.0_alpha68~57 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=382e74bb63d6f1eed2b3d88daee95fc7530df3da;p=portage.git _pull_valid_cache: fix readonly delete logic --- diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index f48741b84..dd627e3a7 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -429,7 +429,7 @@ class portdbapi(dbapi): except KeyError: pass except CacheError: - if auxdb is not pregen_auxdb: + if not auxdb.readonly: try: del auxdb[cpv] except KeyError: