diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-10-07 23:52:21 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-10-07 23:52:21 -0700 |
commit | 176f43b1ec7e7a82cf67d19b40dcacbebc6dc3f6 (patch) | |
tree | aed20d265262a4801536c5d0fbaa13f6e54a22fe | |
parent | d2249e5f44ee4ae22304b4d120c4be43c6ab45d4 (diff) | |
download | portage-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
-rwxr-xr-x | bin/repoman | 2 |
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) |