Revert lazy loading of autouse because it is both broken and useless.
authorZac Medico <zmedico@gentoo.org>
Sun, 4 Jun 2006 03:13:16 +0000 (03:13 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 4 Jun 2006 03:13:16 +0000 (03:13 -0000)
svn path=/main/trunk/; revision=3453

pym/portage.py

index 6eca7d59f77c95df4f3a8503ff99b8c6f87e4ab4..20ce4224aed56b8f71efedb88c3f80643ad077c7 100644 (file)
@@ -1545,9 +1545,8 @@ class config:
                for mykey in myincrementals:
                        if mykey=="USE":
                                mydbs=self.uvlist
-                               if "auto" in self["USE_ORDER"].split(":"):
-                                       self.configdict["auto"] = portage_util.LazyItemsDict(self.configdict["auto"])
-                                       self.configdict["auto"].addLazySingleton("USE", autouse,
+                               if "auto" in self["USE_ORDER"].split(":") and "settings" in globals():
+                                       self.configdict["auto"]["USE"] = autouse(
                                                vartree(root=self["ROOT"], categories=self.categories),
                                                use_cache=use_cache, mysettings=self)
                                else: