diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-10-13 17:23:28 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-10-13 17:23:28 -0700 |
commit | 382e74bb63d6f1eed2b3d88daee95fc7530df3da (patch) | |
tree | cab4f4806d16e65ad29e3d7675634e27485e7e67 /pym/portage | |
parent | d4ea29bf6a3ce35d49e0f54f9173e3a6e42da2d6 (diff) | |
download | portage-382e74bb63d6f1eed2b3d88daee95fc7530df3da.tar.gz portage-382e74bb63d6f1eed2b3d88daee95fc7530df3da.tar.bz2 portage-382e74bb63d6f1eed2b3d88daee95fc7530df3da.zip |
_pull_valid_cache: fix readonly delete logic
Diffstat (limited to 'pym/portage')
-rw-r--r-- | pym/portage/dbapi/porttree.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |