The unified diff between revisions [c421225c..] and [d0b80dac..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'links.py'
#
#
# patch "links.py"
# from [193e314b64731eee79799e24847557aa9cc7ee43]
# to [a4ff2c941a4dd3cba667ac7f36d491d5177f27e4]
#
============================================================
--- links.py 193e314b64731eee79799e24847557aa9cc7ee43
+++ links.py a4ff2c941a4dd3cba667ac7f36d491d5177f27e4
@@ -50,9 +50,10 @@ class Link(object):
return hq(self.description)
rv = '<a href="%s">%s</a>' % (uri, d)
if self.json_args != None:
+ import sys
enc_args = binascii.hexlify(json.write(self.json_args))
rv = '<span id="js_%s" class="%s">' % (hq(enc_args),
- hq(str(self.__class__).split('.')[-1])) + rv + '</span>'
+ hq(self.__class__.__name__)) + rv + '</span>'
return rv
class AuthorLink(Link):