From 7a19875c37941fcd48eeee0f818eb24401304f8a Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 26 Oct 2012 12:46:17 -0400 Subject: [PATCH] trac-bot: Show summary in tickets. (imported from commit fdf48c0e6cd0c7a94d7ddb1f982d2398381e310a) --- bots/humbug_trac.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bots/humbug_trac.py b/bots/humbug_trac.py index b49f2a6..ca3813e 100644 --- a/bots/humbug_trac.py +++ b/bots/humbug_trac.py @@ -60,6 +60,8 @@ class HumbugPlugin(Component): fields that have changed. """ content = "%s updated %s:\n\n" % (author, markdown_ticket_url(ticket)) + if "summary" not in old_values: + content += "(%s)\n" % (ticket.values.get("summary"),) for key in old_values.keys(): if key == "description": content += '- Changed %s from %s to %s' % (key, markdown_block(old_values.get(key)),