diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-03-01 08:14:33 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-03-01 08:14:33 +0000 |
commit | bcd77f5ffcb45acacbaf0010e28f67bd9f7a19ce (patch) | |
tree | 51fcc18f969eb3c83e5b0e252af9eacf18730277 /pym/portage/__init__.py | |
parent | Add a note in _find_system_deps about needing the system set added to the (diff) | |
download | portage-bcd77f5ffcb45acacbaf0010e28f67bd9f7a19ce.tar.gz portage-bcd77f5ffcb45acacbaf0010e28f67bd9f7a19ce.tar.bz2 portage-bcd77f5ffcb45acacbaf0010e28f67bd9f7a19ce.zip |
Fix legacy globals proxies to reset state when the portage module is reloaded.
This fixes ebuild(1) failing to generate manifests when the ebuild is not
in PORTDIR_OVERLAY, as reported by Arfrever.
svn path=/main/trunk/; revision=15511
Diffstat (limited to 'pym/portage/__init__.py')
-rw-r--r-- | pym/portage/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 2441fac6f..685078728 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -576,6 +576,8 @@ for k in _legacy_global_var_names: globals()[k] = _LegacyGlobalProxy(k) del k +_legacy_globals_constructed = set() + def _disable_legacy_globals(): """ This deletes the ObjectProxy instances that are used |