summaryrefslogtreecommitdiff
path: root/tools
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
commitf46d726a9c67e3fde59c55947b2e9114913ee27f (patch)
treefced5b193026dcbce414e0c0362f4f3c99336d12 /tools
parentfb7e353adc84dd77c3d288ae425631e0698b2973 (diff)
downloadserverdata-f46d726a9c67e3fde59c55947b2e9114913ee27f.tar.gz
serverdata-f46d726a9c67e3fde59c55947b2e9114913ee27f.tar.bz2
serverdata-f46d726a9c67e3fde59c55947b2e9114913ee27f.tar.xz
serverdata-f46d726a9c67e3fde59c55947b2e9114913ee27f.zip
Work around news link color
Diffstat (limited to 'tools')
-rw-r--r--tools/_news_colors.py3
1 files changed, 2 insertions, 1 deletions
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')