Skip to content

Commit 98f55b6

Browse files
committed
docs: fix remaining incompatibility with Python 3
1 parent 7f7f4a6 commit 98f55b6

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
@@ -49,7 +49,7 @@ def usage(e=None):
4949
try:
5050
opts, args = getopt.getopt(sys.argv[1:], "i:h:",
5151
["index-dir=", "html-dir="])
52-
except getopt.error, e:
52+
except getopt.error as e:
5353
usage(e)
5454

5555
index_dirs = []

0 commit comments

Comments
 (0)