[Buildbot-commits] buildbot/buildbot/status/web waterfall.py, 1.14, 1.15
Brian Warner
warner at users.sourceforge.net
Mon Aug 13 08:21:06 UTC 2007
Update of /cvsroot/buildbot/buildbot/buildbot/status/web
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv13978/buildbot/status/web
Modified Files:
waterfall.py
Log Message:
[project @ waterfall: oops, "branch" isn't always in the queryargs]
Original author: Brian Warner <warner at lothar.com>
Date: 2007-08-13 15:20:28+00:00
Index: waterfall.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/web/waterfall.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- waterfall.py 13 Aug 2007 08:20:55 -0000 1.14
+++ waterfall.py 13 Aug 2007 08:21:04 -0000 1.15
@@ -520,7 +520,8 @@
newargs = req.args.copy()
for argname in remove_args:
newargs[argname] = []
- newargs["branch"] = [b for b in newargs["branch"] if b]
+ if "branch" in newargs:
+ newargs["branch"] = [b for b in newargs["branch"] if b]
for k,v in new_args:
if k in newargs:
newargs[k].append(v)
More information about the Commits
mailing list