projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60d7d3c
)
config: _eapi_cache.clear() beginning constructor
author
Zac Medico
<zmedico@gentoo.org>
Thu, 20 Sep 2012 02:36:03 +0000
(19:36 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 20 Sep 2012 02:36:03 +0000
(19:36 -0700)
This is important when config is reloaded after emerge --sync.
pym/portage/package/ebuild/config.py
patch
|
blob
|
history
diff --git
a/pym/portage/package/ebuild/config.py
b/pym/portage/package/ebuild/config.py
index c1630cbc14556d956c9b6044be4753431641293b..d2f62acf6a88c9a9bfb2326fff5e766f901a5fc9 100644
(file)
--- 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