From edfa3452f8d7d2a89eb5687f0c30cca9a0f14dcd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 29 Jun 2006 04:22:18 +0000 Subject: [PATCH] Pass a config instance into the vardbapi constructor so that it doesn't have to rely on global settings. svn path=/main/trunk/; revision=3689 --- pym/portage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/portage.py b/pym/portage.py index 4393176c9..4c1e2b1c5 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -4629,7 +4629,8 @@ class vartree(packagetree): self.settings = settings # for key_expand calls if categories is None: categories = settings.categories - self.dbapi = vardbapi(self.root,categories=categories) + self.dbapi = vardbapi( + self.root, categories=categories, settings=settings) self.populated = 1 def zap(self,mycpv): -- 2.26.2