From 2384a2348b37e66b02d28ff13ab3ea83c5e3df27 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 1 Jul 2006 05:37:14 +0000 Subject: [PATCH] Pass a portdbapi instance into doebuild to avoid dependence on global variables. svn path=/main/trunk/; revision=3728 --- bin/emerge | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/emerge b/bin/emerge index 98ded201b..45a4472a9 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1814,12 +1814,12 @@ class depgraph: retval = portage.doebuild(y, "fetch", myroot, self.pkgsettings, self.edebug, "--pretend" in self.myopts, fetchonly=1, - fetchall=1, tree="porttree") + fetchall=1, mydbapi=self.portdb, tree="porttree") else: retval = portage.doebuild(y, "fetch", myroot, self.pkgsettings, self.edebug, "--pretend" in self.myopts, fetchonly=1, - tree="porttree") + mydbapi=self.portdb, tree="porttree") if (retval is None) or retval: print print "!!! Fetch for",y,"failed, continuing..." -- 2.26.2