diff options
-rw-r--r-- | pym/_emerge/EbuildFetchonly.py | 4 | ||||
-rw-r--r-- | pym/_emerge/EbuildMetadataPhase.py | 2 |
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) |