summaryrefslogtreecommitdiff
path: root/docs/xsl
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-02-20 12:28:24 +0800
committerraveit65 <[email protected]>2019-02-20 15:22:41 +0100
commit00f753065d7b41b3213273a80c8efcbe142aabb8 (patch)
tree885bc4458ae9790970167f6caab3998027ed07cc /docs/xsl
parent25a6c2aade483cb0aa8bc3af8eeeab57d3054a5e (diff)
downloadpython-caja-00f753065d7b41b3213273a80c8efcbe142aabb8.tar.bz2
python-caja-00f753065d7b41b3213273a80c8efcbe142aabb8.tar.xz
fix distcheck when use python3
Diffstat (limited to 'docs/xsl')
-rwxr-xr-xdocs/xsl/fixxref.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/xsl/fixxref.py b/docs/xsl/fixxref.py
index c7535b6..e476529 100755
--- a/docs/xsl/fixxref.py
+++ b/docs/xsl/fixxref.py
@@ -30,7 +30,7 @@ def fix_xrefs(hdir):
def link_subst(m):
id, text = m.groups()
- if anchors.has_key(id):
+ if id in anchors.keys():
return '<a\nhref="../' + anchors[id] + '"\n>' + text + '</a>'
return text