aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-12-30 20:32:07 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-12-30 20:32:07 +0000
commitcb23e4c2b13adfb7c4ab6d603d4067460231d4f3 (patch)
tree95105c3896bb554fd10065d42666b0e3868af588
parent9f8ff1699a29b2828a41ce6cec8b41ba89f609c2 (diff)
comment out section that sends log in an email
svn path=/trunk/; revision=15858
-rwxr-xr-xscripts/check-for-type-punning-warnings.py58
1 files changed, 29 insertions, 29 deletions
diff --git a/scripts/check-for-type-punning-warnings.py b/scripts/check-for-type-punning-warnings.py
index 68e99614..4a1e2c04 100755
--- a/scripts/check-for-type-punning-warnings.py
+++ b/scripts/check-for-type-punning-warnings.py
@@ -28,32 +28,32 @@ for line in logoutput:
lf.write(line)
lf.close()
-# make the email report
-fromaddr = 'pd@pdlab.idmi.poly.edu'
-toaddr = 'hans@at.or.at'
-mailoutput = []
-mailoutput.append('From: ' + fromaddr + '\n')
-mailoutput.append('To: ' + toaddr + '\n')
-mailoutput.append('Subject: type-punning warnings ' + date + '\n\n\n')
-mailoutput.append('______________________________________________________________________\n\n')
-mailoutput.append('Complete log:\n')
-mailoutput.append('http://autobuild.puredata.info/auto-build/' + date + '/logs/'
- + outputfilename + '\n')
-
-
-# upload the log file to the autobuild website
-rsyncfile = 'rsync://128.238.56.50/upload/' + date + '/logs/' + outputfilename
-cmd = ['rsync', '-axv', outputfile, rsyncfile]
-mailoutput.append(' '.join(cmd) + '\n')
-p = subprocess.Popen(cmd,
- shell=False,
- stdout=subprocess.PIPE,
- stderr=subprocess.PIPE)
-p.wait()
-mailoutput.append(''.join(p.stdout.readlines()))
-mailoutput.append(''.join(p.stderr.readlines()))
-
-mailoutput.append('______________________________________________________________________\n\n')
-server = smtplib.SMTP('in1.smtp.messagingengine.com')
-server.sendmail(fromaddr, toaddr, ''.join(mailoutput + logoutput))
-server.quit()
+# # make the email report
+# fromaddr = 'pd@pdlab.idmi.poly.edu'
+# toaddr = 'hans@at.or.at'
+# mailoutput = []
+# mailoutput.append('From: ' + fromaddr + '\n')
+# mailoutput.append('To: ' + toaddr + '\n')
+# mailoutput.append('Subject: type-punning warnings ' + date + '\n\n\n')
+# mailoutput.append('______________________________________________________________________\n\n')
+# mailoutput.append('Complete log:\n')
+# mailoutput.append('http://autobuild.puredata.info/auto-build/' + date + '/logs/'
+# + outputfilename + '\n')
+
+
+# # upload the log file to the autobuild website
+# rsyncfile = 'rsync://128.238.56.50/upload/' + date + '/logs/' + outputfilename
+# cmd = ['rsync', '-axv', outputfile, rsyncfile]
+# mailoutput.append(' '.join(cmd) + '\n')
+# p = subprocess.Popen(cmd,
+# shell=False,
+# stdout=subprocess.PIPE,
+# stderr=subprocess.PIPE)
+# p.wait()
+# mailoutput.append(''.join(p.stdout.readlines()))
+# mailoutput.append(''.join(p.stderr.readlines()))
+
+# mailoutput.append('______________________________________________________________________\n\n')
+# server = smtplib.SMTP('in1.smtp.messagingengine.com')
+# server.sendmail(fromaddr, toaddr, ''.join(mailoutput + logoutput))
+# server.quit()