[pypy-commit] buildbot default: Add a title to the longrepr pages

arigo noreply at buildbot.pypy.org
Wed Mar 25 08:54:56 CET 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r942:79ce0aa6cfae
Date: 2015-03-25 08:49 +0100
http://bitbucket.org/pypy/buildbot/changeset/79ce0aa6cfae/

Log:	Add a title to the longrepr pages

diff --git a/bot2/pypybuildbot/summary.py b/bot2/pypybuildbot/summary.py
--- a/bot2/pypybuildbot/summary.py
+++ b/bot2/pypybuildbot/summary.py
@@ -597,7 +597,8 @@
 
         longrepr = outcome_set.get_longrepr(namekey)
 
-        return html.div([html.pre(longrepr),
+        return html.div([html.h2(self.getTitle(request)),
+                         html.pre(longrepr),
                          py.xml.raw("<!-- %s -->" % outcome_set_cache.stats())
                          ]).unicode()
 


More information about the pypy-commit mailing list