In vardbapi.aux_get(), don't mark cacheed metadata invalid just because
authorZac Medico <zmedico@gentoo.org>
Tue, 20 May 2008 01:51:51 +0000 (01:51 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 20 May 2008 01:51:51 +0000 (01:51 -0000)
some of the values are missing. (trunk r10375)

svn path=/main/branches/2.1.2/; revision=10376

pym/portage.py

index 85c65da2423e628cbe256cb7f75f39daaddd0ffc..14d4dbfc9e77e7a6b8974a572025dd05894d16ef 100644 (file)
@@ -6919,7 +6919,6 @@ class vardbapi(dbapi):
                        if cache_incomplete:
                                # Allow self._aux_cache_keys to change without a cache version
                                # bump and efficiently recycle partial cache whenever possible.
-                               cache_valid = False
                                pull_me = cache_incomplete.union(wants)
                        else:
                                pull_me = set(wants).difference(cache_these)