From 176f43b1ec7e7a82cf67d19b40dcacbebc6dc3f6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 7 Oct 2011 23:52:21 -0700 Subject: 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 --- bin/repoman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-1-g7c22