diff options
author | Christoph Erhardt <kolab@sicherha.de> | 2021-06-04 16:53:52 +0200 |
---|---|---|
committer | Christoph Erhardt <kolab@sicherha.de> | 2022-01-10 20:46:43 +0100 |
commit | 991255eaa314b51e2dd586460311d4633a56eb86 (patch) | |
tree | e3e711046511d69fabdac2c67e66df4834a1e763 /conf.py | |
parent | d0579b7e5da331576b80b9d35eb62994075bc939 (diff) | |
download | pykolab-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-x | conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |