diff --git a/runbot/models/repo.py b/runbot/models/repo.py index 4f5b34ba..b8361609 100644 --- a/runbot/models/repo.py +++ b/runbot/models/repo.py @@ -543,7 +543,7 @@ class Repo(models.Model): host = self.env['runbot.host']._get_current() host.message_post(body=message) icp = self.env['ir.config_parameter'].sudo() - if icp.get_param('runbot.runbot_disable_host_on_fetch_failure', True): + if icp.get_param('runbot.runbot_disable_host_on_fetch_failure'): self.env['runbot.runbot'].warning('Host %s got reserved because of fetch failure' % host.name) _logger.exception(message) host.disable()