PYTHON3 - correct syntax for exception for Python 3 (again) ECC-264

This commit is contained in:
Stephan Siemen 2018-10-05 14:20:59 +01:00
parent 57f8c791c2
commit 62fa208b47
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ def test():
def main():
try:
test()
except GribInternalError,err:
except GribInternalError as err:
if VERBOSE:
traceback.print_exc(file=sys.stderr)
else: