projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae25da1
)
Use writemsg() to send exception string to stderr.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 12 Oct 2007 05:41:12 +0000
(
05:41
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 12 Oct 2007 05:41:12 +0000
(
05:41
-0000)
svn path=/main/trunk/; revision=8058
pym/portage/elog/mod_mail_summary.py
patch
|
blob
|
history
diff --git
a/pym/portage/elog/mod_mail_summary.py
b/pym/portage/elog/mod_mail_summary.py
index d0b2577ae056afa0462485d975e7ce8e64ebb26d..5b554a7bf240de1eaa677f397f587dec71565338 100644
(file)
--- a/
pym/portage/elog/mod_mail_summary.py
+++ b/
pym/portage/elog/mod_mail_summary.py
@@
-5,6
+5,7
@@
import portage.mail, socket, os, time
from portage.exception import PortageException
+from portage.util import writemsg
from email.MIMEText import MIMEText as TextMessage
_items = {}
@@
-52,6
+53,6
@@
def _finalize(mysettings, items):
try:
portage.mail.send_mail(mysettings, mymessage)
except PortageException, e:
-
print str(e
)
+
writemsg("%s\n" % str(e), noiselevel=-1
)
return