From: Zac Medico Date: Thu, 21 Oct 2010 15:54:45 +0000 (-0700) Subject: Fix pretend phase doebuild_environment(). X-Git-Tag: v2.2_rc99~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e7f9fe3e6a64e374d8e22b012e6142977f18b0e0;p=portage.git Fix pretend phase doebuild_environment(). --- diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py index 463b6146e..9161e99ef 100644 --- a/pym/_emerge/Scheduler.py +++ b/pym/_emerge/Scheduler.py @@ -988,9 +988,8 @@ class Scheduler(PollScheduler): raise AssertionError("ebuild not found for '%s'" % x.cpv) portage.package.ebuild.doebuild.doebuild_environment(ebuild_path, - "pretend", root_config.root, settings, - debug=(settings.get("PORTAGE_DEBUG", "") == 1), - mydbapi=self.trees[settings["ROOT"]][tree].dbapi, use_cache=1) + "pretend", settings=settings, + db=self.trees[settings["ROOT"]][tree].dbapi) prepare_build_dirs(root_config.root, settings, cleanup=0) vardb = root_config.trees['vartree'].dbapi