From 038802898de36647fa02cfcaab95472b3cb45c9b Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Fri, 18 Apr 2014 09:57:31 +0100 Subject: Make documentation generation python3 compatible REVIEW: 117624 --- docs/sphinx/conf.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/sphinx/conf.py.in') diff --git a/docs/sphinx/conf.py.in b/docs/sphinx/conf.py.in index 24ba82c8..792c87ca 100644 --- a/docs/sphinx/conf.py.in +++ b/docs/sphinx/conf.py.in @@ -50,7 +50,7 @@ for fpath in ecm_manuals: name, desc, [], int(sec))) else: sys.stderr.write("ERROR: No ecm-manual-description in '%s'\n" % fpath) - except Exception, e: + except Exception as e: sys.stderr.write("ERROR: %s\n" % str(e)) man_show_urls = False -- cgit v1.2.1