From: Zac Medico Date: Thu, 27 Oct 2011 16:46:04 +0000 (-0700) Subject: fix previous commit to call ensure_dirs X-Git-Tag: v2.2.0_alpha72~59 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=34acc9e79a941cac9591c6ae723e73054141e2e7;p=portage.git fix previous commit to call ensure_dirs --- diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py index 224408322..729b2d730 100644 --- a/pym/_emerge/Scheduler.py +++ b/pym/_emerge/Scheduler.py @@ -28,7 +28,7 @@ from portage.output import colorize, create_color_func, red bad = create_color_func("BAD") from portage._sets import SETPREFIX from portage._sets.base import InternalPackageSet -from portage.util import writemsg, writemsg_level +from portage.util import ensure_dirs, writemsg, writemsg_level from portage.package.ebuild.digestcheck import digestcheck from portage.package.ebuild.digestgen import digestgen from portage.package.ebuild.prepare_build_dirs import prepare_build_dirs @@ -917,6 +917,7 @@ class Scheduler(PollScheduler): settings.setcpv(x) tmpdir_orig = settings["PORTAGE_TMPDIR"] build_prefix_orig = os.path.join(tmpdir_orig, 'portage') + ensure_dirs(build_prefix_orig) tmpdir = tempfile.mkdtemp(dir=build_prefix_orig) settings["PORTAGE_TMPDIR"] = tmpdir