talos-staging-try/tinderboxmailnotifier.py
author Alice Nodelman <alice@mozilla.com>
Thu, 10 Sep 2009 09:14:36 -0700
changeset 1489 e095d2e1a3447c87a62c1f18d88615ae9483b8b1
parent 1419 ed1259e43959fe3e43d51f2442ba0d1124ee8edc
permissions -rw-r--r--
bug 514070 (max dirty profile testing) patch for production/try p=anodelman, r=catlee

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)