Fix reference to undefined var on SendAuthorBreakageMessage

This commit is contained in:
Sergio Durigan Junior 2017-10-03 21:34:56 -04:00
parent 23ab40ab3f
commit b7e9ee2861

View file

@ -297,7 +297,7 @@ subsequent commits are made after X, by different people."""
bf.close ()
SendRootBreakageMessage (name, branch, change)
root_message_id = make_breakage_root_message_id (rev, branch)
root_message_id = make_breakage_root_message_id (change.revision, branch)
rev = change.revision
to = change.who.encode ('ascii', 'ignore').decode ('ascii')