From c4a5a11080868abae6864e8fe6ab0ba2340ed51c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 19 Sep 2012 19:36:03 -0700 Subject: [PATCH] config: _eapi_cache.clear() beginning constructor This is important when config is reloaded after emerge --sync. --- pym/portage/package/ebuild/config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py index c1630cbc1..d2f62acf6 100644 --- a/pym/portage/package/ebuild/config.py +++ b/pym/portage/package/ebuild/config.py @@ -178,6 +178,9 @@ class config(object): @type _unmatched_removal: Boolean """ + # This is important when config is reloaded after emerge --sync. + _eapi_cache.clear() + # When initializing the global portage.settings instance, avoid # raising exceptions whenever possible since exceptions thrown # from 'import portage' or 'import portage.exceptions' statements -- 2.26.2