From: Zac Medico Date: Tue, 25 Oct 2011 06:18:42 +0000 (-0700) Subject: Remove unused root parameters from doebuild calls X-Git-Tag: v2.2.0_alpha72~84 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f38b20284d42b046b771510583a27cc05e3846ed;p=portage.git Remove unused root parameters from doebuild calls --- diff --git a/pym/_emerge/EbuildFetchonly.py b/pym/_emerge/EbuildFetchonly.py index b8989713c..d0f954c24 100644 --- a/pym/_emerge/EbuildFetchonly.py +++ b/pym/_emerge/EbuildFetchonly.py @@ -1,4 +1,4 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 from _emerge.SlotObject import SlotObject @@ -21,7 +21,7 @@ class EbuildFetchonly(SlotObject): debug = settings.get("PORTAGE_DEBUG") == "1" rval = portage.doebuild(ebuild_path, "fetch", - settings["ROOT"], settings, debug=debug, + settings=settings, debug=debug, listonly=self.pretend, fetchonly=1, fetchall=self.fetch_all, mydbapi=portdb, tree="porttree") diff --git a/pym/_emerge/EbuildMetadataPhase.py b/pym/_emerge/EbuildMetadataPhase.py index aa26e1928..bf562c568 100644 --- a/pym/_emerge/EbuildMetadataPhase.py +++ b/pym/_emerge/EbuildMetadataPhase.py @@ -91,7 +91,7 @@ class EbuildMetadataPhase(SubProcess): self._registered = True retval = portage.doebuild(ebuild_path, "depend", - settings["ROOT"], settings, debug, + settings=settings, debug=debug, mydbapi=self.portdb, tree="porttree", fd_pipes=fd_pipes, returnpid=True)