talos-staging-try/tinderboxmailnotifier.py
author Ben Hearsum <bhearsum@mozilla.com>
Wed, 12 Aug 2009 08:41:40 -0400
changeset 1427 69eb71197222b980e92b87ff5eb3deb039a8b6a0
parent 1419 ed1259e43959fe3e43d51f2442ba0d1124ee8edc
permissions -rw-r--r--
bug 508281: add mozilla-1.9.2 builds to moz2-master, talos-pool master. r=ccooper,anodelman

from buildbot.status import tinderbox

class TinderboxMailNotifier(tinderbox.TinderboxMailNotifier):
  """
  Subclass TinderboxMailNotifier to add the slave name to the build.
  This makes tinderbox happy if we have more than one slave working
  on one builder.
  """
  def buildMessage(self, name, build, results):
    return tinderbox.TinderboxMailNotifier.buildMessage(self,
                                                        name + ' ' +
                                                        build.getSlavename(),
                                                        build, results)