humbug_trac: Remove redundant 'Trac ' in subjects.

(imported from commit 309b477963cd0d3cca06eef2a685b1143c144455)
This commit is contained in:
Tim Abbott 2012-10-31 12:08:41 -04:00
parent 1fc6248725
commit f3646d9c56

View file

@ -35,7 +35,7 @@ def truncate(string, length):
return string[:length - 3] + "..."
def trac_subject(ticket):
return truncate("Trac #%s: %s" % (ticket.id, ticket.values.get("summary")), 60)
return truncate("#%s: %s" % (ticket.id, ticket.values.get("summary")), 60)
def send_update(ticket, content):
client.send_message({