← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~cjwatson/launchpad:update-script-monitor-address into launchpad:master

 

Colin Watson has proposed merging ~cjwatson/launchpad:update-script-monitor-address into launchpad:master.

Commit message:
Send script-monitor emails to launchpad-error-reports@

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/379473

We'd like to start using canonical-launchpad@xxxxxxxxxxxxxxxxxxx as an internal team mailing list again, and script-monitor emails make it a bit spammy.

Reply-To remains at canonical-launchpad@ in case there's ever a need to discuss these by email.
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:update-script-monitor-address into launchpad:master.
diff --git a/scripts/script-monitor.py b/scripts/script-monitor.py
index 6ebeb56..2cc6a5a 100755
--- a/scripts/script-monitor.py
+++ b/scripts/script-monitor.py
@@ -88,14 +88,15 @@ def main():
             msg['Subject'] = "Scripts failed to run: %s" % ", ".join(subj)
             msg['From'] = 'script-failures@xxxxxxxxxxxxx'
             msg['Reply-To'] = 'canonical-launchpad@xxxxxxxxxxxxxxxxxxx'
-            msg['To'] = 'canonical-launchpad@xxxxxxxxxxxxxxxxxxx'
+            msg['To'] = 'launchpad-error-reports@xxxxxxxxxxxxxxxxxxx'
 
             # Send out the email.
             smtp = smtplib.SMTP()
             smtp.connect()
             smtp.sendmail(
                 'script-failures@xxxxxxxxxxxxx',
-                ['canonical-launchpad@xxxxxxxxxxxxxxxxxxx'], msg.as_string())
+                ['launchpad-error-reports@xxxxxxxxxxxxxxxxxxx'],
+                msg.as_string())
             smtp.close()
             return 2
     except: