[Checkins] SVN: zopetoolkit/doc/source/process/buildbots.rst Remove misleading text and unused local variable from message_formatter.
Marius Gedminas
marius at pov.lt
Mon Jul 19 08:12:58 EDT 2010
Log message for revision 114848:
Remove misleading text and unused local variable from message_formatter.
Changed:
U zopetoolkit/doc/source/process/buildbots.rst
-=-
Modified: zopetoolkit/doc/source/process/buildbots.rst
===================================================================
--- zopetoolkit/doc/source/process/buildbots.rst 2010-07-19 12:11:35 UTC (rev 114847)
+++ zopetoolkit/doc/source/process/buildbots.rst 2010-07-19 12:12:58 UTC (rev 114848)
@@ -135,13 +135,9 @@
Here is a sample message_formatter function for the buildbot ``MailNotifier`` ::
def message_formatter(mode, name, build, results, master_status):
- """Provide a customized message to BuildBot's MailNotifier.
- The last 80 lines of the log are provided as well as the changes
- relevant to the build.
- """
+ """Provide a customized message to BuildBot's MailNotifier."""
result = Results[results]
- limit_lines = 80
text = list()
# status required by zope-tests list
@@ -164,7 +160,7 @@
if ss.branch:
source += "[branch %s] " % ss.branch
if ss.revision:
- source += ss.revision
+ source += ss.revision
else:
source += "HEAD"
if ss.patch:
More information about the checkins
mailing list