From e7f9fe3e6a64e374d8e22b012e6142977f18b0e0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 21 Oct 2010 08:54:45 -0700 Subject: [PATCH] Fix pretend phase doebuild_environment(). --- pym/_emerge/Scheduler.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.26.2