From 98f55b6cc13099fb922ac830bb2b7acb5cfc31b2 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 5 Feb 2019 16:25:31 +0300 Subject: docs: fix remaining incompatibility with Python 3 --- docs/xsl/fixxref.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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 = [] -- cgit v1.2.1