From: Zac Medico Date: Wed, 25 Aug 2010 09:05:14 +0000 (-0700) Subject: Remove portage.usedefaults since it's broken by the previous commit. X-Git-Tag: v2.2_rc70~84 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=79a55ae35806baf6bef3436df2afca76c6454b2a;p=portage.git Remove portage.usedefaults since it's broken by the previous commit. --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index b2cbc0f0e..d16ca3a15 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -575,7 +575,7 @@ class _LegacyGlobalProxy(proxy.objectproxy.ObjectProxy): _legacy_global_var_names = ("archlist", "db", "features", "groups", "mtimedb", "mtimedbfile", "pkglines", "portdb", "profiledir", "root", "selinux_enabled", - "settings", "thirdpartymirrors", "usedefaults") + "settings", "thirdpartymirrors") for k in _legacy_global_var_names: globals()[k] = _LegacyGlobalProxy(k) diff --git a/pym/portage/_legacy_globals.py b/pym/portage/_legacy_globals.py index bdeba351d..69484a96b 100644 --- a/pym/portage/_legacy_globals.py +++ b/pym/portage/_legacy_globals.py @@ -72,9 +72,6 @@ def _get_legacy_global(name): portage.thirdpartymirrors = settings.thirdpartymirrors() constructed.add('thirdpartymirrors') - portage.usedefaults = settings.use_defs - constructed.add('usedefaults') - profiledir = os.path.join(settings["PORTAGE_CONFIGROOT"], PROFILE_PATH) if not os.path.isdir(profiledir): profiledir = None