Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

changeset: 1739:20d51d010738

parent:      1737:bb72e026fdd9
user:        Lukas Blakk <lsblakk@mozilla.com>
date:        Tue Aug 23 10:23:38 2011 -0700
summary:     bustage fix for try_mailer to not send emails when silence is requested in syntax p=lsblakk r=aki

--HG--
branch : production-0.8
  • Loading branch information...
commit 65d91f51c0595620446ff4e416f41d98c57737fa 2 parents 20a7fda + defb240
@armenzg armenzg authored
Showing with 10 additions and 10 deletions.
  1. +10 −10 bin/try_mailer.py
View
20 bin/try_mailer.py
@@ -194,15 +194,15 @@ def formatMessage(msgdict, from_, to):
if result != SUCCESS:
msgdict = makeTryMessage(build, log_url)
- # Send it!
- if msgdict != None:
- if options.to_author:
- options.to.append(msgdict['author'])
- msg = formatMessage(msgdict, options.from_, options.to)
- print msg
-
- s = SMTP()
- s.connect()
- s.sendmail(options.from_, options.to, msg.as_string())
+ # Send it!
+ if msgdict != None:
+ if options.to_author:
+ options.to.append(msgdict['author'])
+ msg = formatMessage(msgdict, options.from_, options.to)
+ print msg
+
+ s = SMTP()
+ s.connect()
+ s.sendmail(options.from_, options.to, msg.as_string())
sys.exit(exit_code)
Please sign in to comment.
Something went wrong with that request. Please try again.