From f46d726a9c67e3fde59c55947b2e9114913ee27f Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 21 Feb 2013 10:08:35 -0800 Subject: Work around news link color --- tools/_news_colors.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/_news_colors.py') diff --git a/tools/_news_colors.py b/tools/_news_colors.py index 16318fdb..8b0c00b9 100644 --- a/tools/_news_colors.py +++ b/tools/_news_colors.py @@ -110,7 +110,8 @@ class TxtLink(object): def __init__(self, stack): self.stack = stack def __format__(self, target): - return '@@{link}|{text}@@'.format(link=target, text=target) + # the field labeled 'bug' should not be necessary ... + return '@@{link}|{text}@@{bug}'.format(link=target, text=target, bug=self.stack[-1]) class TxtSignature(object): __slots__ = ('stack') -- cgit v1.2.3-60-g2f50