diff --git a/runbot/models/repo.py b/runbot/models/repo.py index dad25628..33a0ffad 100644 --- a/runbot/models/repo.py +++ b/runbot/models/repo.py @@ -530,7 +530,7 @@ class Repo(models.Model): if try_count > 4: message = 'Failed to fetch repo %s: %s' % (self.name, e.output.decode()) host = self.env['runbot.host']._get_current() - host.message_post(body='message') + host.message_post(body=message) self.env['runbot.runbot'].warning('Host %s got reserved because of fetch failure' % host.name) _logger.exception(message) host.disable() diff --git a/runbot/templates/utils.xml b/runbot/templates/utils.xml index b427e81e..d6290c1d 100644 --- a/runbot/templates/utils.xml +++ b/runbot/templates/utils.xml @@ -166,7 +166,7 @@ - +