From: Zac Medico Date: Mon, 24 Apr 2006 09:56:59 +0000 (-0000) Subject: Replace usage of global portage.settings with self.mysettings instead. X-Git-Tag: v2.1_pre10~66 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c2f82118d252439f4d7f8e7d8cc40a3a1c17cffb;p=portage.git Replace usage of global portage.settings with self.mysettings instead. svn path=/main/trunk/; revision=3208 --- 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")