diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-09-19 19:36:03 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-09-19 19:36:03 -0700 |
commit | c4a5a11080868abae6864e8fe6ab0ba2340ed51c (patch) | |
tree | 2a918f0d92be1496940606817bac4d0f9a7bd804 | |
parent | 60d7d3cf4364a1cc41cf98b57359a0faf1fdc5bd (diff) | |
download | portage-c4a5a11080868abae6864e8fe6ab0ba2340ed51c.tar.gz portage-c4a5a11080868abae6864e8fe6ab0ba2340ed51c.tar.bz2 portage-c4a5a11080868abae6864e8fe6ab0ba2340ed51c.zip |
config: _eapi_cache.clear() beginning constructor
This is important when config is reloaded after emerge --sync.
-rw-r--r-- | pym/portage/package/ebuild/config.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 |