Bug 1363048 - Handle Devedition r=aki draft
authorRail Aliiev <rail@mozilla.com>
Thu, 25 May 2017 21:07:52 -0400
changeset 7769 9aaf36ae7dfaf0717ad5f032a7ee88c6445fbbb6
parent 7768 ac62025e5cefa2821e64be4ca87a21fa3d819c5b
push id221
push userbmo:rail@mozilla.com
push dateFri, 26 May 2017 01:08:01 +0000
reviewersaki
bugs1363048
Bug 1363048 - Handle Devedition r=aki MozReview-Commit-ID: Cg7cwBptdkO
lib/python/kickoff/__init__.py
--- a/lib/python/kickoff/__init__.py
+++ b/lib/python/kickoff/__init__.py
@@ -105,19 +105,20 @@ Started by {starter}
            task_group_id=task_group_id, l10n_url=l10n_url,
            email_buglist_string=email_buglist_string)
 
     comment = release.get("comment")
     if comment:
         content += "Comment:\n" + comment + "\n\n"
 
     # On r-d, we prefix the subject of the email in order to simplify filtering
+    subject_prefix = ""
     if "Fennec" in release["name"]:
         subject_prefix = "[mobile] "
-    if "Firefox" in release["name"]:
+    if "Firefox" in release["name"] or "Devedition" in release["name"]:
         subject_prefix = "[desktop] "
 
     subject = subject_prefix + 'Build of %s' % release["name"]
 
     sendmail(from_=from_, to=to, subject=subject, body=content,
              smtp_server=smtp_server)