summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2019-02-05 16:25:31 +0300
committermonsta <[email protected]>2019-02-05 16:25:31 +0300
commit98f55b6cc13099fb922ac830bb2b7acb5cfc31b2 (patch)
treedbc5238250b103f0f755057a03208d3446a8d48b
parent7f7f4a6de557e1a3350209b935adaedba80827ed (diff)
downloadpython-caja-98f55b6cc13099fb922ac830bb2b7acb5cfc31b2.tar.bz2
python-caja-98f55b6cc13099fb922ac830bb2b7acb5cfc31b2.tar.xz
docs: fix remaining incompatibility with Python 3
-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 f3287b3..c7535b6 100755
--- a/docs/xsl/fixxref.py
+++ b/docs/xsl/fixxref.py
@@ -49,7 +49,7 @@ if __name__ == '__main__':
try:
opts, args = getopt.getopt(sys.argv[1:], "i:h:",
["index-dir=", "html-dir="])
- except getopt.error, e:
+ except getopt.error as e:
usage(e)
index_dirs = []