summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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