From f26065c4dcb5606622138bac1d930590824add53 Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Wed, 21 Feb 2024 07:57:18 +0100 Subject: [PATCH] [FIX] runbot: append a tuple in git gc command list --- runbot_builder/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runbot_builder/tools.py b/runbot_builder/tools.py index c5f4820c..977a168c 100644 --- a/runbot_builder/tools.py +++ b/runbot_builder/tools.py @@ -115,7 +115,7 @@ class RunbotClient(): commands = [] host_name = self.host.name for repo in self.env['runbot.repo'].search([]): - commands.append(repo.name, (repo._get_git_command(['gc', '--prune=all', '--quiet']))) + commands.append((repo.name, repo._get_git_command(['gc', '--prune=all', '--quiet']))) self.env.cr.rollback() # gc commands can be slow, rollbacking to avoid to keep a transaction idle for multiple minutes. messages = []