From 0dda92c6a770c6d63664dab5add07ff3e96996a9 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 20 Feb 2018 08:56:48 -0500 Subject: no bug - tie secbugstats to bugzilla email (#404) --- contrib/secbugstats/bin/sendstats.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'contrib/secbugstats/bin/sendstats.py') diff --git a/contrib/secbugstats/bin/sendstats.py b/contrib/secbugstats/bin/sendstats.py index 32d296533..2df8bfd6b 100755 --- a/contrib/secbugstats/bin/sendstats.py +++ b/contrib/secbugstats/bin/sendstats.py @@ -293,15 +293,4 @@ if img: msgImage.add_header("Content-ID", "") msgRoot.attach(msgImage) -# if console is chosen, print only to the console -if "--console" in sys.argv: - print "\n", msgRoot.as_string() -# print out only HTML body -elif "--html" in sys.argv: - print "\n", body -# send out the mail -else: - s = smtplib.SMTP(SMTP_HOST, SMTP_PORT) - # s = smtplib.SMTP_SSL(SMTP_HOST, SMTP_PORT) - # s.login(LDAP_USER, LDAP_PASS) - s.sendmail(EMAIL_FROM, EMAIL_TO, msgRoot.as_string()) +print msgRoot.as_string() -- cgit v1.2.3-24-g4f1b