[FIX] runbot_merge: cancel reason on PR close

Was not properly formatted, so the message would just be
"PR %s:%s closed by %s".
This commit is contained in:
Xavier Morel 2018-10-08 15:31:07 +02:00
parent d042bc541f
commit e590d565c1

View File

@ -852,7 +852,7 @@ class Stagings(models.Model):
self.write({
'active': False,
'state': 'cancelled',
'reason': reason,
'reason': reason % args,
})
def fail(self, message, prs=None):