[Buildbot-commits] buildbot/buildbot/status/web waterfall.py, 1.33, 1.34
Brian Warner
warner at users.sourceforge.net
Thu Jul 24 18:52:27 UTC 2008
Update of /cvsroot/buildbot/buildbot/buildbot/status/web
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18575/buildbot/status/web
Modified Files:
waterfall.py
Log Message:
[project @ #228:fix-summary-with-no-values.patch]
Correctly display the summary, even with no test results (thanks to Pike)
Original author: dustin at v.igoro.us
Date: 2008-07-24 15:07:35+00:00
Index: waterfall.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/web/waterfall.py,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- waterfall.py 21 Jul 2008 17:52:20 -0000 1.33
+++ waterfall.py 24 Jul 2008 18:52:23 -0000 1.34
@@ -111,7 +111,7 @@
number = b.getNumber()
url = path_to_build(req, b)
text = b.getText()
- tests_failed = b.getSummaryStatistic('failed', operator.add)
+ tests_failed = b.getSummaryStatistic('failed', operator.add, 0)
if tests_failed: text.extend(["Failed tests: %d" % tests_failed])
# TODO: maybe add logs?
# TODO: add link to the per-build page at 'url'
More information about the Commits
mailing list