From c2f82118d252439f4d7f8e7d8cc40a3a1c17cffb Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 24 Apr 2006 09:56:59 +0000 Subject: [PATCH] Replace usage of global portage.settings with self.mysettings instead. svn path=/main/trunk/; revision=3208 --- pym/portage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/portage.py b/pym/portage.py index d0266bb5f..d6dbde430 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -4526,7 +4526,8 @@ class portdbapi(dbapi): if self.tmpfs and not os.access(self.tmpfs, os.R_OK): self.tmpfs = None - self.eclassdb = eclass_cache.cache(self.porttree_root, overlays=settings["PORTDIR_OVERLAY"].split()) + self.eclassdb = eclass_cache.cache(self.porttree_root, + overlays=self.mysettings["PORTDIR_OVERLAY"].split()) self.metadb = {} self.metadbmodule = self.mysettings.load_best_module("portdbapi.metadbmodule") -- 2.26.2