Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r588:b1ace48fbae9
Date: 2011-08-28 20:45 +0200
http://bitbucket.org/pypy/buildbot/changeset/b1ace48fbae9/

Log:    Update: we may get an auth_ok=True parameter

diff --git a/bot2/pypybuildbot/master.py b/bot2/pypybuildbot/master.py
--- a/bot2/pypybuildbot/master.py
+++ b/bot2/pypybuildbot/master.py
@@ -8,10 +8,10 @@
 
 # Forbid "force build" with empty user name
 from buildbot.status.web.builder import StatusResourceBuilder
-def my_force(self, req):
+def my_force(self, req, *args, **kwds):
     name = req.args.get("username", [""])[0]
     assert name, "Please write your name in the corresponding field."
-    return _previous_force(self, req)
+    return _previous_force(self, req, *args, **kwds)
 _previous_force = StatusResourceBuilder.force
 if _previous_force.__name__ == 'force':
     StatusResourceBuilder.force = my_force
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to