Bug 1363048 - Handle Devedition r=aki
MozReview-Commit-ID: Cg7cwBptdkO
--- 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)