From ef6405fb4e30aec25c3da3d0871f628277148a73 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Wed, 24 Sep 2014 10:10:48 +0200 Subject: [PATCH] [FIX] runbot: typo in controller methods --- runbot/runbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runbot/runbot.py b/runbot/runbot.py index 0b10dd66..56d176fd 100644 --- a/runbot/runbot.py +++ b/runbot/runbot.py @@ -1131,7 +1131,7 @@ class RunbotController(http.Controller): #context['level'] = level return request.render("runbot.build", context) - @http.route(['/runbot/build//force'], type='http', auth="public", method='POST') + @http.route(['/runbot/build//force'], type='http', auth="public", methods=['POST']) def build_force(self, build_id, **post): registry, cr, uid, context = request.registry, request.cr, 1, request.context repo_id = registry['runbot.build'].force(cr, uid, [int(build_id)])