summaryrefslogtreecommitdiffstats
path: root/conf.py
diff options
context:
space:
mode:
authorChristoph Erhardt <kolab@sicherha.de>2021-06-04 16:53:52 +0200
committerChristoph Erhardt <kolab@sicherha.de>2022-01-10 20:46:43 +0100
commit991255eaa314b51e2dd586460311d4633a56eb86 (patch)
treee3e711046511d69fabdac2c67e66df4834a1e763 /conf.py
parentd0579b7e5da331576b80b9d35eb62994075bc939 (diff)
downloadpykolab-991255eaa314b51e2dd586460311d4633a56eb86.tar.gz
[Python 3] Use new exception syntax
Summary: The new syntax was introduced in Python 2.6; the old syntax was deprecated in Python 3.0. Reviewers: machniak, mollekopf Reviewed By: mollekopf Differential Revision: https://git.kolab.org/D3232
Diffstat (limited to 'conf.py')
-rwxr-xr-xconf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.py b/conf.py
index 9a111b6..6b5d71f 100755
--- a/conf.py
+++ b/conf.py
@@ -34,7 +34,7 @@ from pykolab.translate import _
try:
import pykolab.logger
-except ImportError, e:
+except ImportError as e:
print(_("Cannot load pykolab/logger.py:"), file=sys.stderr)
print("%s" % e, file=sys.stderr)
sys.exit(1)