summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-10-24 23:18:42 -0700
committerZac Medico <zmedico@gentoo.org>2011-10-24 23:18:42 -0700
commitf38b20284d42b046b771510583a27cc05e3846ed (patch)
treec989d9838c5ddd6ce5280998137ff2a43aabd5e8
parentae0255f656d2371cabaccabb1d70f579ddbc1bac (diff)
downloadportage-f38b20284d42b046b771510583a27cc05e3846ed.tar.gz
portage-f38b20284d42b046b771510583a27cc05e3846ed.tar.bz2
portage-f38b20284d42b046b771510583a27cc05e3846ed.zip
Remove unused root parameters from doebuild calls
-rw-r--r--pym/_emerge/EbuildFetchonly.py4
-rw-r--r--pym/_emerge/EbuildMetadataPhase.py2
2 files changed, 3 insertions, 3 deletions
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)