diff options
author | 2015-02-13 00:01:03 -0500 | |
---|---|---|
committer | 2015-02-13 11:12:14 -0500 | |
commit | aa1eda028542446977af1ddf0d5d13b0644d0684 (patch) | |
tree | bd6c3ffd542d700e4e448f011972309ccc6d2e5f | |
parent | setup: use relative path for data files to respect sys.prefix (diff) | |
download | pkgcore-aa1eda028542446977af1ddf0d5d13b0644d0684.tar.gz pkgcore-aa1eda028542446977af1ddf0d5d13b0644d0684.tar.bz2 pkgcore-aa1eda028542446977af1ddf0d5d13b0644d0684.zip |
binpkg: drop duplicate cache keys
The capitalized versions are added and used already.
-rw-r--r-- | pkgcore/binpkg/remote.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgcore/binpkg/remote.py b/pkgcore/binpkg/remote.py index 77d7033b2..739bb982b 100644 --- a/pkgcore/binpkg/remote.py +++ b/pkgcore/binpkg/remote.py @@ -111,9 +111,8 @@ class PackagesCacheV0(cache.bulk): def __init__(self, location, *args, **kwds): self._location = location - vkeys = set(self._stored_chfs) + vkeys = {'CPV'} vkeys.update(self._deserialized_defaults) - vkeys.add("CPV") vkeys.update(x.upper() for x in self._stored_chfs) kwds["auxdbkeys"] = vkeys cache.bulk.__init__(self, *args, **kwds) |