Boost logo

Boost-Commit :

From: dgregor_at_[hidden]
Date: 2007-12-13 14:22:52


Author: dgregor
Date: 2007-12-13 14:22:52 EST (Thu, 13 Dec 2007)
New Revision: 42016
URL: http://svn.boost.org/trac/boost/changeset/42016

Log:
Minor tweak
Text files modified:
   trunk/tools/regression/xsl_reports/email_maintainers.py | 21 +++++++++++----------
   1 files changed, 11 insertions(+), 10 deletions(-)

Modified: trunk/tools/regression/xsl_reports/email_maintainers.py
==============================================================================
--- trunk/tools/regression/xsl_reports/email_maintainers.py (original)
+++ trunk/tools/regression/xsl_reports/email_maintainers.py 2007-12-13 14:22:52 EST (Thu, 13 Dec 2007)
@@ -823,16 +823,17 @@
     print email
 
 email = report.composeTestingSummaryEmail()
-if '--send' in sys.argv:
- print 'Sending summary email to Boost testing list...'
- smtp = smtplib.SMTP('milliways.osl.iu.edu')
- smtp.sendmail(from_addr = report_author,
- to_addrs = boost_testing_list,
- msg = email)
- print 'done.\n'
-if '--debug' in sys.argv:
- print 'Message text for testing summary:\n'
- print email
+if email:
+ if '--send' in sys.argv:
+ print 'Sending summary email to Boost testing list...'
+ smtp = smtplib.SMTP('milliways.osl.iu.edu')
+ smtp.sendmail(from_addr = report_author,
+ to_addrs = boost_testing_list,
+ msg = email)
+ print 'done.\n'
+ if '--debug' in sys.argv:
+ print 'Message text for testing summary:\n'
+ print email
 
 if not ('--send' in sys.argv):
     print 'Chickening out and not sending any e-mail.'


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk