[Buildbot-commits] buildbot/buildbot/status/web waterfall.py, 1.24, 1.25
Brian Warner
warner at users.sourceforge.net
Sun Sep 30 21:16:43 UTC 2007
Update of /cvsroot/buildbot/buildbot/buildbot/status/web
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv10929/buildbot/status/web
Modified Files:
waterfall.py
Log Message:
[project @ waterfall: clip reload time at 15sec min, rather than ignoring short times altogether]
Original author: warner at lothar.com
Date: 2007-09-30 20:26:14+00:00
Index: waterfall.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/web/waterfall.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- waterfall.py 30 Sep 2007 19:06:24 -0000 1.24
+++ waterfall.py 30 Sep 2007 21:16:41 -0000 1.25
@@ -429,8 +429,7 @@
if "reload" in request.args:
try:
reload_time = int(request.args["reload"][0])
- if reload_time > 15:
- return reload_time
+ return max(reload_time, 15)
except ValueError:
pass
return None
More information about the Commits
mailing list