Replace usage of global portage.settings with self.mysettings instead.
authorZac Medico <zmedico@gentoo.org>
Mon, 24 Apr 2006 09:56:59 +0000 (09:56 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 24 Apr 2006 09:56:59 +0000 (09:56 -0000)
svn path=/main/trunk/; revision=3208

pym/portage.py

index d0266bb5f8de1bd8ed9b095a110b3a8bcebb0322..d6dbde4308c02f19535458a7a80e74efe5a4d92a 100644 (file)
@@ -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")