summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-04-24 09:56:59 +0000
committerZac Medico <zmedico@gentoo.org>2006-04-24 09:56:59 +0000
commitc2f82118d252439f4d7f8e7d8cc40a3a1c17cffb (patch)
tree6cf86dabc10bf635876c33a17eac6281eb64094b
parent412509b716c41b2876c43440e43510fed5a0a0f8 (diff)
downloadportage-c2f82118d252439f4d7f8e7d8cc40a3a1c17cffb.tar.gz
portage-c2f82118d252439f4d7f8e7d8cc40a3a1c17cffb.tar.bz2
portage-c2f82118d252439f4d7f8e7d8cc40a3a1c17cffb.zip
Replace usage of global portage.settings with self.mysettings instead.
svn path=/main/trunk/; revision=3208
-rw-r--r--pym/portage.py3
1 files changed, 2 insertions, 1 deletions
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")