Remove portage.usedefaults since it's broken by the previous commit.
authorZac Medico <zmedico@gentoo.org>
Wed, 25 Aug 2010 09:05:14 +0000 (02:05 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 25 Aug 2010 09:05:14 +0000 (02:05 -0700)
pym/portage/__init__.py
pym/portage/_legacy_globals.py

index b2cbc0f0e3e166e58a069ba4ead83161422aa9f6..d16ca3a15b30a3a572bfa841ceb2331ccbf6c6ce 100644 (file)
@@ -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)
index bdeba351dc91e6107b0096337b0c84e9337b80f9..69484a96bbad498ed90cddd12ff782a41290166b 100644 (file)
@@ -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