From 00f753065d7b41b3213273a80c8efcbe142aabb8 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Wed, 20 Feb 2019 12:28:24 +0800 Subject: fix distcheck when use python3 --- docs/xsl/fixxref.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 '' + text + '' return text -- cgit v1.2.1