From 382e74bb63d6f1eed2b3d88daee95fc7530df3da Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 13 Oct 2011 17:23:28 -0700 Subject: [PATCH] _pull_valid_cache: fix readonly delete logic --- pym/portage/dbapi/porttree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.26.2