From 7aecaff7d013c9478fca5892eadd7fb6359bac75 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 4 Jun 2006 03:13:16 +0000 Subject: Revert lazy loading of autouse because it is both broken and useless. svn path=/main/trunk/; revision=3453 --- pym/portage.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pym') diff --git a/pym/portage.py b/pym/portage.py index 6eca7d59..20ce4224 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -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: -- cgit v1.2.3-65-gdbad