summaryrefslogtreecommitdiffstats
path: root/ext/python/Tools
diff options
context:
space:
mode:
authorChristoph Erhardt <kolab@sicherha.de>2021-06-04 16:53:52 +0200
committerChristoph Erhardt <kolab@sicherha.de>2022-01-11 21:09:42 +0100
commit16bbda7fa28adbeb1da1f38d6126363db9eefaea (patch)
tree6b101e562621f98652c460b23028a801713ec918 /ext/python/Tools
parentcfdb3e4f7f150bd01b73622662766459f390f10d (diff)
downloadpykolab-16bbda7fa28adbeb1da1f38d6126363db9eefaea.tar.gz
[Python 3] Use new exception syntax, part 2
Summary: These two hunks were supposed to be part of 991255eaa314b51e2dd586460311d4633a56eb86 but got dropped in an auto-merge. Reviewers: mollekopf Reviewed By: mollekopf Differential Revision: https://git.kolab.org/D3250
Diffstat (limited to 'ext/python/Tools')
-rwxr-xr-xext/python/Tools/freeze/freeze.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/python/Tools/freeze/freeze.py b/ext/python/Tools/freeze/freeze.py
index 6f74ca2..e584de6 100755
--- a/ext/python/Tools/freeze/freeze.py
+++ b/ext/python/Tools/freeze/freeze.py
@@ -317,7 +317,7 @@ def main():
try:
os.mkdir(odir)
print("Created output directory", odir)
- except os.error, msg:
+ except os.error as msg:
usage('%s: mkdir failed (%s)' % (odir, str(msg)))
base = ''
if odir: