From: Zac Medico Date: Thu, 20 Sep 2012 02:36:03 +0000 (-0700) Subject: config: _eapi_cache.clear() beginning constructor X-Git-Tag: v2.2.0_alpha130~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c4a5a11080868abae6864e8fe6ab0ba2340ed51c;p=portage.git config: _eapi_cache.clear() beginning constructor This is important when config is reloaded after emerge --sync. --- 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