mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: remove unused argument
Leftover from the old api conversion Making an error when trying to kill a build
This commit is contained in:
parent
9de7c2f8cf
commit
4a558741e0
@ -620,7 +620,7 @@ class runbot_build(models.Model):
|
||||
user = request.env.user if request else self.env.user
|
||||
uid = user.id
|
||||
if self.state == 'pending':
|
||||
self._skip(ids=self.ids)
|
||||
self._skip()
|
||||
self._log('_ask_kill', 'Skipping build %s, requested by %s (user #%s)' % (self.dest, user.name, uid))
|
||||
elif self.state in ['testing', 'running']:
|
||||
self.write({'state': 'deathrow'})
|
||||
|
Loading…
Reference in New Issue
Block a user