You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2016/07/10 13:34:18 UTC

svn commit: r1752089 - /comdev/reporter.apache.org/trunk/scripts/parsepmcs.py

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)