From 4bd612e8521983f5b8ad939ba3ccf27fccb0d874 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 17 Oct 2012 18:24:34 -0700 Subject: [PATCH] ManifestTask: use PopenProcess more --- pym/portage/package/ebuild/_parallel_manifest/ManifestTask.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pym/portage/package/ebuild/_parallel_manifest/ManifestTask.py b/pym/portage/package/ebuild/_parallel_manifest/ManifestTask.py index d51400ade..e155bc94b 100644 --- a/pym/portage/package/ebuild/_parallel_manifest/ManifestTask.py +++ b/pym/portage/package/ebuild/_parallel_manifest/ManifestTask.py @@ -13,7 +13,6 @@ from portage.util import (atomic_ofstream, grablines, from portage.util._async.PopenProcess import PopenProcess from _emerge.CompositeTask import CompositeTask from _emerge.PipeReader import PipeReader -from _emerge.SpawnProcess import SpawnProcess from .ManifestProcess import ManifestProcess class ManifestTask(CompositeTask): @@ -130,8 +129,7 @@ class ManifestTask(CompositeTask): gpg_vars["FILE"] = self._manifest_path gpg_cmd = varexpand(self.gpg_cmd, mydict=gpg_vars) gpg_cmd = shlex_split(gpg_cmd) - gpg_proc = SpawnProcess( - args=gpg_cmd, env=os.environ, scheduler=self.scheduler) + gpg_proc = PopenProcess(proc=subprocess.Popen(gpg_cmd)) self._start_task(gpg_proc, self._gpg_proc_exit) def _gpg_proc_exit(self, gpg_proc): -- 2.26.2