FIRE-23063: Replace deprecated exception handling syntax that isn't supported in Python 3 anymore; Path by Lance Corrimal

Ansariel 2018-10-12 11:11:55 +02:00
parent de5b90b5e9
commit 12d0320c5e
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ def translate_rc(rc):
try:
table = get_windows_table()
symbol, desc = table[hexrc]
except Exception, err:
except Exception as err:
log.error("(%s -- carrying on)" % err)
log.error("terminated with rc %s (%s)" % (rc, hexrc))
else: