Fix pretend phase doebuild_environment().
authorZac Medico <zmedico@gentoo.org>
Thu, 21 Oct 2010 15:54:45 +0000 (08:54 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 21 Oct 2010 15:54:45 +0000 (08:54 -0700)
pym/_emerge/Scheduler.py

index 463b6146e2dec6304313b610efd2b41e6d249736..9161e99ef4cc8b8bd4330a87cb584e364162e443 100644 (file)
@@ -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