From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/elog/
Date: Sat, 3 Sep 2011 23:11:46 +0000 (UTC) [thread overview]
Message-ID: <a732c34814c2bbcc25b97a29b0cb73ae625a6bb0.zmedico@gentoo> (raw)
commit: a732c34814c2bbcc25b97a29b0cb73ae625a6bb0
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 3 23:11:10 2011 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Sep 3 23:11:10 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a732c348
elog/mod_echo: send all msg types to stdout
---
pym/portage/elog/mod_echo.py | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/pym/portage/elog/mod_echo.py b/pym/portage/elog/mod_echo.py
index 5de25bf..59117be 100644
--- a/pym/portage/elog/mod_echo.py
+++ b/pym/portage/elog/mod_echo.py
@@ -18,6 +18,19 @@ def process(mysettings, key, logentries, fulltext):
_items.append((mysettings["ROOT"], key, logentries))
def finalize():
+ # For consistency, send all message types to stdout.
+ sys.stdout.flush()
+ sys.stderr.flush()
+ stderr = sys.stderr
+ try:
+ sys.stderr = sys.stdout
+ _finalize()
+ finally:
+ sys.stderr = stderr
+ sys.stdout.flush()
+ sys.stderr.flush()
+
+def _finalize():
global _items
printer = EOutput()
for root, key, logentries in _items:
next reply other threads:[~2011-09-03 23:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-03 23:11 Zac Medico [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-10-09 19:08 [gentoo-commits] proj/portage:master commit in: pym/portage/elog/ Zac Medico
2017-08-17 7:30 Michał Górny
2015-12-28 0:54 Zac Medico
2012-11-13 17:57 Zac Medico
2012-11-13 17:49 Zac Medico
2011-11-25 19:35 Zac Medico
2011-11-18 18:20 Zac Medico
2011-11-18 5:33 Zac Medico
2011-11-18 2:55 Zac Medico
2011-10-11 16:56 Zac Medico
2011-10-10 14:37 Zac Medico
2011-10-10 14:22 Zac Medico
2011-10-06 1:22 Zac Medico
2011-09-03 23:17 Zac Medico
2011-09-03 23:00 Zac Medico
2011-07-11 18:00 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=a732c34814c2bbcc25b97a29b0cb73ae625a6bb0.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