[pypy-commit] buildbot default: Add a <nobr> around the <pre> parts of the html summary.

arigo noreply at buildbot.pypy.org
Thu Aug 13 10:57:18 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r953:c413d1467f6a
Date: 2015-08-13 09:58 +0100
http://bitbucket.org/pypy/buildbot/changeset/c413d1467f6a/

Log:	Add a <nobr> around the <pre> parts of the html summary.

	Avoids bad formatting if the window is not large enough.

diff --git a/bot2/pypybuildbot/summary.py b/bot2/pypybuildbot/summary.py
--- a/bot2/pypybuildbot/summary.py
+++ b/bot2/pypybuildbot/summary.py
@@ -530,7 +530,7 @@
             lines.append(html.span(line,
                                    class_="a%dc%d" % (a_num, combination)))
 
-        section = html.pre(lines)
+        section = html.nobr(html.pre(lines))
         self.sections.append(section)
 
     def add_no_revision_builds(self, status, no_revision_builds):


More information about the pypy-commit mailing list