Skip to content

Commit

Permalink
Merge pull request #277 from jfleach/master
Browse files Browse the repository at this point in the history
Updated Documentation Pull Request
  • Loading branch information
ayust committed Nov 1, 2011
2 parents d8ac772 + 2e15576 commit ef373f8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions master/docs/manual/cfg-statustargets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,9 @@ containing the last 80 log lines of logs of the last build step is
given below::

from buildbot.status.builder import Results

import cgi, datetime

def html_message_formatter(mode, name, build, results, master_status):
"""Provide a customized message to Buildbot's MailNotifier.
Expand Down Expand Up @@ -812,7 +814,6 @@ given below::
source += u" (plus patch)"
if ss.patch_info: # add patch comment
source += u" (%s)" % ss.patch_info[1]
source +=
text.append(u"<tr><td>Build Source Stamp:</td><td><b>%s</b></td></tr>" % source)
text.append(u"<tr><td>Blamelist:</td><td>%s</td></tr>" % ",".join(build.getResponsibleUsers()))
text.append(u'</table>')
Expand Down Expand Up @@ -868,7 +869,7 @@ given below::
sendToInterestedUsers=False,
mode='failing',
extraRecipients=['listaddr@example.org'],
messageFormatter=message_formatter)
messageFormatter=html_message_formatter)

MailNotifier arguments
++++++++++++++++++++++
Expand Down

0 comments on commit ef373f8

Please sign in to comment.