[Buildbot-commits] buildbot/buildbot/status/web builder.py, 1.20, 1.21
Brian Warner
warner at users.sourceforge.net
Thu May 22 22:13:24 UTC 2008
Update of /cvsroot/buildbot/buildbot/buildbot/status/web
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17705/buildbot/status/web
Modified Files:
builder.py
Log Message:
[project @ #124:remove-custom-props.patch]
Remove custom properties, which are now largely redundant, and on which the
properties interface was modeled.
Original author: dustin at v.igoro.us
Date: 2008-04-13 19:55:26+00:00
Index: builder.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/web/builder.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- builder.py 22 May 2008 22:12:14 -0000 1.20
+++ builder.py 22 May 2008 22:13:22 -0000 1.21
@@ -152,7 +152,7 @@
return data
- def force(self, req, custom_props={}):
+ def force(self, req):
"""
Custom properties can be passed from the web form. To do
@@ -161,8 +161,6 @@
by inspecting req.args), then pass them to this superclass
force method.
- @param custom_props: Custom properties to set on build
-
"""
name = req.args.get("username", ["<unknown>"])[0]
reason = req.args.get("comments", ["<no reason specified>"])[0]
@@ -196,7 +194,7 @@
# button, use their name instead of None, so they'll be informed of
# the results.
s = SourceStamp(branch=branch, revision=revision)
- req = BuildRequest(r, s, builderName=self.builder_status.getName(), custom_props=custom_props)
+ req = BuildRequest(r, s, builderName=self.builder_status.getName())
try:
self.builder_control.requestBuildSoon(req)
except interfaces.NoSlaveError:
More information about the Commits
mailing list