diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-07-01 05:37:14 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-07-01 05:37:14 +0000 |
commit | 2384a2348b37e66b02d28ff13ab3ea83c5e3df27 (patch) | |
tree | 35b255bdedd781f5623426e428a8e1ab50bba46e | |
parent | 44b26b547597b8ef96467fc2350599ff713eab7a (diff) | |
download | portage-2384a2348b37e66b02d28ff13ab3ea83c5e3df27.tar.gz portage-2384a2348b37e66b02d28ff13ab3ea83c5e3df27.tar.bz2 portage-2384a2348b37e66b02d28ff13ab3ea83c5e3df27.zip |
Pass a portdbapi instance into doebuild to avoid dependence on global variables.
svn path=/main/trunk/; revision=3728
-rwxr-xr-x | bin/emerge | 4 |
1 files 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..." |