[Buildbot-commits] buildbot/buildbot/status/web base.py,1.17,1.18

Brian Warner warner at users.sourceforge.net
Sun Sep 30 19:00:39 UTC 2007


Update of /cvsroot/buildbot/buildbot/buildbot/status/web
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv22614/buildbot/status/web

Modified Files:
	base.py 
Log Message:
[project @ web.OneLineMixin: add build's getText to each line]

Original author: warner at lothar.com
Date: 2007-09-30 18:59:21+00:00

Index: base.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/web/base.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- base.py	30 Sep 2007 18:20:56 -0000	1.17
+++ base.py	30 Sep 2007 19:00:37 -0000	1.18
@@ -302,6 +302,7 @@
     def make_line(self, req, build, include_builder=True):
         builder_name = build.getBuilder().getName()
         results = build.getResults()
+        text = build.getText()
         try:
             rev = build.getProperty("got_revision")
             if rev is None:
@@ -316,6 +317,7 @@
                   'builder_name': builder_name,
                   'buildnum': build.getNumber(),
                   'results': css_classes[results],
+                  'text': " ".join(build.getText()),
                   'buildurl': (root +
                                "builders/%s/builds/%d" % (builder_name,
                                                           build.getNumber())),
@@ -332,6 +334,7 @@
         if include_builder:
             fmt_pieces.append('<a href="%(builderurl)s">%(builder_name)s</a>')
         fmt_pieces.append('<a href="%(buildurl)s">#%(buildnum)d</a>:')
+        fmt_pieces.append('%(text)s')
         data = " ".join(fmt_pieces) % values
         return data
 





More information about the Commits mailing list