community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1752089 - /comdev/reporter.apache.org/trunk/scripts/parsepmcs.py
Date Sun, 10 Jul 2016 13:34:18 GMT
Author: sebb
Date: Sun Jul 10 13:34:18 2016
New Revision: 1752089

URL: http://svn.apache.org/viewvc?rev=1752089&view=rev
Log:
Ensure error is sent to same destination

Modified:
    comdev/reporter.apache.org/trunk/scripts/parsepmcs.py

Modified: comdev/reporter.apache.org/trunk/scripts/parsepmcs.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/parsepmcs.py?rev=1752089&r1=1752088&r2=1752089&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/parsepmcs.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/parsepmcs.py Sun Jul 10 13:34:18 2016
@@ -49,7 +49,7 @@ def printMail(msg, body='', file=sys.std
     try:
         sendmail.sendMail(msg, body=body, recipients=recipients)
     except ConnectionRefusedError:
-        print("*** Failed to send the email to " + str(recipients))
+        print("*** Failed to send the email to " + str(recipients), file=file)
 
 uc = UrlCache(interval=0)
 



Mime
View raw message