projects
/
invirt/scripts/outage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18db043
)
outage-mail: Send summary to xvm-team, not xvm.
author
Mitchell E Berger
<mitchb@mit.edu>
Mon, 7 Nov 2011 00:00:14 +0000
(19:00 -0500)
committer
Mitchell E Berger
<mitchb@mit.edu>
Mon, 7 Nov 2011 00:00:14 +0000
(19:00 -0500)
outage-mail
patch
|
blob
|
history
diff --git
a/outage-mail
b/outage-mail
index
4731cb5
..
653c222
100644
(file)
--- a/
outage-mail
+++ b/
outage-mail
@@
-27,12
+27,12
@@
def send_mail(smtp, opts, message, vm):
def send_summary(smtp, opts, messages):
msg = MIMEText('\n\n\n'.join(messages))
- msg['To'] = 'xvm@mit.edu'
+ msg['To'] = 'xvm-team@mit.edu'
msg['From'] = opts.from_addr
msg['Subject'] = ("xvm outage-mail summary (%d): %s"
% (len(messages), opts.subject))
smtp.sendmail(opts.from_addr,
- ['xvm@mit.edu'],
+ ['xvm-team@mit.edu'],
msg.as_string())
def main(argv):