Skip to content

Commit 00f7530

Browse files
yetistraveit65
authored andcommitted
fix distcheck when use python3
1 parent 25a6c2a commit 00f7530

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/xsl/fixxref.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def fix_xrefs(hdir):
3030

3131
def link_subst(m):
3232
id, text = m.groups()
33-
if anchors.has_key(id):
33+
if id in anchors.keys():
3434
return '<a\nhref="../' + anchors[id] + '"\n>' + text + '</a>'
3535
return text
3636

0 commit comments

Comments
 (0)