summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py2
-rw-r--r--pym/portage/_legacy_globals.py3
2 files changed, 1 insertions, 4 deletions
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