mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: fix gc warning
This commit is contained in:
parent
d027d1c7de
commit
3f042c44a8
@ -377,7 +377,7 @@ class Runbot(models.AbstractModel):
|
||||
repo._git(['gc', '--prune=all', '--quiet'])
|
||||
except CalledProcessError as e:
|
||||
message = f'git gc failed on host {host} with exit status {e.returncode} and message "{e.output[:30]} ..."'
|
||||
self.warning.create({'message': message})
|
||||
self.warning(message)
|
||||
|
||||
def warning(self, message, *args):
|
||||
if args:
|
||||
|
Loading…
Reference in New Issue
Block a user