summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-10-07 23:52:21 -0700
committerZac Medico <zmedico@gentoo.org>2011-10-07 23:52:21 -0700
commit176f43b1ec7e7a82cf67d19b40dcacbebc6dc3f6 (patch)
treeaed20d265262a4801536c5d0fbaa13f6e54a22fe /bin
parentd2249e5f44ee4ae22304b4d120c4be43c6ab45d4 (diff)
downloadportage-176f43b1ec7e7a82cf67d19b40dcacbebc6dc3f6.tar.gz
portage-176f43b1ec7e7a82cf67d19b40dcacbebc6dc3f6.tar.bz2
portage-176f43b1ec7e7a82cf67d19b40dcacbebc6dc3f6.zip
repoman: add 'repository' to portdbapi cache
This fixes _getMaskAtom to work correctly with the repo atoms that are generated by MaskManager, solving the issue reported here: https://github.com/cschwan/sage-on-gentoo/issues/90#issuecomment-2324953
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repoman2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 5d2a84c5f..38f969464 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -652,7 +652,7 @@ root_config = RootConfig(repoman_settings, trees[root], None)
# We really only need to cache the metadata that's necessary for visibility
# filtering. Anything else can be discarded to reduce memory consumption.
portdb._aux_cache_keys.clear()
-portdb._aux_cache_keys.update(["EAPI", "IUSE", "KEYWORDS", "SLOT"])
+portdb._aux_cache_keys.update(["EAPI", "IUSE", "KEYWORDS", "repository", "SLOT"])
reposplit = myreporoot.split(os.path.sep)
repolevel = len(reposplit)