[Buildbot-commits] buildbot/buildbot/status html.py,1.84,1.85
Brian Warner
warner at users.sourceforge.net
Fri Jun 2 05:15:48 UTC 2006
Update of /cvsroot/buildbot/buildbot/buildbot/status
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17002/buildbot/status
Modified Files:
html.py
Log Message:
[project @ add a 'reason' tooltip to the yellow start-of-build box]
Original author: warner at lothar.com
Date: 2006-06-02 05:14:45
Index: html.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/html.py,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- html.py 21 May 2006 21:28:26 -0000 1.84
+++ html.py 2 Jun 2006 05:15:46 -0000 1.85
@@ -919,7 +919,9 @@
name = b.getBuilder().getName()
number = b.getNumber()
url = "%s/builds/%d" % (urllib.quote(name, safe=''), number)
- text = '<a href="%s">Build %d</a>' % (url, number)
+ reason = b.getReason()
+ text = ('<a title="Reason: %s" href="%s">Build %d</a>'
+ % (html.escape(reason), url, number))
color = "yellow"
class_ = "start"
if b.isFinished() and not b.getSteps():
More information about the Commits
mailing list