diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-12-28 14:32:48 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-12-28 14:32:48 +0000 |
commit | a50c81b472bace52bc6d16cfc4a71bb1d2fdb73e (patch) | |
tree | ad0a398c9ca00ce945ea5ad97b8638aa00640ee5 | |
parent | aa4334a1727b94a66319f3a16df86266989de134 (diff) | |
download | portage-a50c81b472bace52bc6d16cfc4a71bb1d2fdb73e.tar.gz portage-a50c81b472bace52bc6d16cfc4a71bb1d2fdb73e.tar.bz2 portage-a50c81b472bace52bc6d16cfc4a71bb1d2fdb73e.zip |
Allow the list of keys cached by the vardb to change without forcing a cache version bump.
svn path=/main/trunk/; revision=5405
-rw-r--r-- | pym/portage.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py index 16d99a955..f2b11876c 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -5047,6 +5047,10 @@ class vardbapi(dbapi): if pkg_data: cache_mtime, metadata = pkg_data cache_valid = cache_mtime == mydir_mtime + if cache_valid and set(metadata) != self._aux_cache_keys: + # Allow self._aux_cache_keys to change without a cache version + # bump. + cache_valid = False if cache_valid: mydata.update(metadata) pull_me = set(wants).difference(self._aux_cache_keys) |