From f3646d9c5627c6e89762b9ad04ccc666cc780262 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 31 Oct 2012 12:08:41 -0400 Subject: [PATCH] humbug_trac: Remove redundant 'Trac ' in subjects. (imported from commit 309b477963cd0d3cca06eef2a685b1143c144455) --- bots/humbug_trac.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/humbug_trac.py b/bots/humbug_trac.py index 40faab3..75e6485 100644 --- a/bots/humbug_trac.py +++ b/bots/humbug_trac.py @@ -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({