summaryrefslogtreecommitdiff
path: root/_news_colors.py
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-02-21 10:08:35 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-02-21 10:08:35 -0800
commit039a182753cae7dbb0938acedbbf945b63ea0427 (patch)
treee9a37233af78d4749b5274887394b2f38b3f52ba /_news_colors.py
parente7edf9e577f552e12446f206d137b15bbc84b503 (diff)
downloadtools-039a182753cae7dbb0938acedbbf945b63ea0427.tar.gz
tools-039a182753cae7dbb0938acedbbf945b63ea0427.tar.bz2
tools-039a182753cae7dbb0938acedbbf945b63ea0427.tar.xz
tools-039a182753cae7dbb0938acedbbf945b63ea0427.zip
Work around news link color
Diffstat (limited to '_news_colors.py')
-rw-r--r--_news_colors.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/_news_colors.py b/_news_colors.py
index 16318fd..8b0c00b 100644
--- a/_news_colors.py
+++ b/_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')