Use commit-id instead of title when sending breakage email

This commit is contained in:
Sergio Durigan Junior 2017-09-04 20:28:17 -04:00
parent f6545f3e58
commit 20cf61dfa5

View file

@ -240,7 +240,7 @@ subsequent commits are made after X, by different people."""
to = change.who.encode ('ascii', 'ignore').decode ('ascii')
title = change.comments.split ('\n')[0]
sbj = 'Oh dear. I regret to inform you that commit \'%s\' might be unfortunate' % title
sbj = 'Oh dear. I regret to inform you that commit %s might be unfortunate' % change.revision
if branch != 'master':
sbj += ' [%s]' % branch