Follow-up to bug 749151, correct ThunderbirdTry to Thunderbird-Try. r=Callek
authorMark Banner <bugzilla@standard8.plus.com>
Wed, 12 Sep 2012 08:28:45 +0100
changeset 2591 471d9c4437eaef54579513c057788c64eddd3a90
parent 2588 6997e7c4a85d7a530a9422724ad3e2d7149a3816
child 2592 edbc4a9f7b5df2d95b2cdc5669e130b0d2f951c7
push id1994
push userbugzilla@standard8.plus.com
push dateWed, 12 Sep 2012 07:29:22 +0000
reviewersCallek
bugs749151
Follow-up to bug 749151, correct ThunderbirdTry to Thunderbird-Try. r=Callek
bin/try_mailer.py
status/generators.py
--- a/bin/try_mailer.py
+++ b/bin/try_mailer.py
@@ -59,17 +59,17 @@ def makeTryMessage(build, log_url):
         if users:
             who = users[0]
         else:
             raise ValueError("I don't know who did this build")
 
     branch = props['branch']
     tree = "Try"
     if 'comm' in branch:
-       tree = "ThunderbirdTry" 
+       tree = "Thunderbird-Try" 
 
     if 'got_revision' in props:
         revision = props['got_revision'][:12]
     elif 'revision' in props:
         revision = props['revision'][:12]
     else:
         revision = 'unknown'
 
--- a/status/generators.py
+++ b/status/generators.py
@@ -2,17 +2,17 @@ import re
 import os.path
 
 def buildTryChangeMessage(change, packageDir):
     got_revision = revision = change.revision[:12]
     who = change.who
     branch = change.branch
     tree = "Try"
     if 'comm' in branch:
-        tree = "ThunderbirdTry"
+        tree = "Thunderbird-Try"
     packageDir = packageDir % locals()
     msgdict = {"type": "plain"}
     msgdict['subject'] = "%(tree)s submission %(revision)s" % locals()
     msgdict['headers'] = {"In-Reply-To": "<%(branch)s-%(revision)s>" % locals(),
                           "References": "<%(branch)s-%(revision)s>" % locals(),
                           }
     msgdict["body"] = """\
 Thanks for your try submission (http://hg.mozilla.org/%(branch)s/pushloghtml?changeset=%(revision)s).  It's the best!