From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/package/ebuild/_parallel_manifest/
Date: Thu, 18 Oct 2012 06:37:32 +0000 (UTC) [thread overview]
Message-ID: <1350542240.c34b00b7b402b199cc6b7db1a7d1d4547ef3b413.zmedico@gentoo> (raw)
commit: c34b00b7b402b199cc6b7db1a7d1d4547ef3b413
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 18 06:37:20 2012 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Oct 18 06:37:20 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=c34b00b7
ManifestTask: use null stdin when checking sig
---
.../ebuild/_parallel_manifest/ManifestTask.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/pym/portage/package/ebuild/_parallel_manifest/ManifestTask.py b/pym/portage/package/ebuild/_parallel_manifest/ManifestTask.py
index d923088..e2d023a 100644
--- a/pym/portage/package/ebuild/_parallel_manifest/ManifestTask.py
+++ b/pym/portage/package/ebuild/_parallel_manifest/ManifestTask.py
@@ -60,10 +60,12 @@ class ManifestTask(CompositeTask):
self._start_gpg_proc()
def _check_sig_key(self):
+ null_fd = os.open('/dev/null', os.O_RDONLY)
popen_proc = PopenProcess(proc=subprocess.Popen(
["gpg", "--verify", self._manifest_path],
- stdout=subprocess.PIPE, stderr=subprocess.STDOUT),
+ stdin=null_fd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT),
pipe_reader=PipeReader())
+ os.close(null_fd)
popen_proc.pipe_reader.input_files = {
"producer" : popen_proc.proc.stdout}
self._start_task(popen_proc, self._check_sig_key_exit)
next reply other threads:[~2012-10-18 6:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-18 6:37 Zac Medico [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-01-08 1:48 [gentoo-commits] proj/portage:master commit in: pym/portage/package/ebuild/_parallel_manifest/ Zac Medico
2013-01-06 11:06 Zac Medico
2012-10-18 1:43 Zac Medico
2012-10-18 1:24 Zac Medico
2012-10-17 2:01 Zac Medico
2012-10-16 22:45 Zac Medico
2012-10-06 17:26 Zac Medico
2012-10-03 23:32 Zac Medico
2012-10-03 20:21 Zac Medico
2012-10-03 20:16 Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1350542240.c34b00b7b402b199cc6b7db1a7d1d4547ef3b413.zmedico@gentoo \
--to=zmedico@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox