Add a portage._disable_legacy_globals() function. This deletes the
authorZac Medico <zmedico@gentoo.org>
Thu, 3 Jul 2008 09:05:38 +0000 (09:05 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 3 Jul 2008 09:05:38 +0000 (09:05 -0000)
commit1bb31021102532794b844dc6d288867ae3a421de
treec5c20e59ec32fe85fdbfce2e64955217357e42bc
parent025b9ac465f3fdc0c1a595889e6ff0950596a46a
Add a portage._disable_legacy_globals() function. This deletes the
ObjectProxy instances that are used for lazy initialization of legacy
global variables. The purpose of deleting them is to prevent new code
from referencing these deprecated variables. This allows the removal
of the PORTAGE_LEGACY_GLOBALS variable which used to serve the same
purpose.

svn path=/main/trunk/; revision=10909
bin/repoman
pym/_emerge/__init__.py
pym/portage/__init__.py