Decoding to ascii author name

This commit is contained in:
Sergio Durigan Junior 2016-03-31 14:19:41 -04:00
parent c4bba449d3
commit af7fad6353

View file

@ -203,7 +203,7 @@ subsequent commits are made after X, by different people."""
open (lockfile, 'w').close ()
rev = change.revision
to = change.who
to = change.who.encode ('ascii', 'ignore').decode ('ascii')
title = change.comments.split ('\n')[0]
sbj = 'Your commit \'%s\' broke GDB' % title