[pypy-svn] r36276 - pypy/dist/pypy/tool/build

guido at codespeak.net guido at codespeak.net
Mon Jan 8 15:38:52 CET 2007


Author: guido
Date: Mon Jan  8 15:38:51 2007
New Revision: 36276

Modified:
   pypy/dist/pypy/tool/build/metaserver.py
Log:
(cfbolz, guido) only mailing log on errors


Modified: pypy/dist/pypy/tool/build/metaserver.py
==============================================================================
--- pypy/dist/pypy/tool/build/metaserver.py	(original)
+++ pypy/dist/pypy/tool/build/metaserver.py	Mon Jan  8 15:38:51 2007
@@ -241,7 +241,8 @@
                                 self.config.projectname,
                                 buildpath.error.__class__.__name__)
                     body = ('There was an error during the compilation you '
-                            'requested. The log can be found below.')
+                            'requested. The log can be found below.'
+                            '\n\n%s' % (buildpath.log,))
                 else:
                     subject = '%s - compilation done' % (
                                self.config.projectname,)
@@ -254,8 +255,6 @@
                     'Subject: %s' % (subject,),
                     '',
                     body,
-                    '',
-                    buildpath.log,
                 ])
                 server = smtplib.SMTP(self.config.mailhost,
                                       self.config.mailport)



More information about the Pypy-commit mailing list