mirror of https://github.com/ecmwf/eccodes.git
PYTHON3 - correct syntax for exception for Python 3 (again) ECC-264
This commit is contained in:
parent
57f8c791c2
commit
62fa208b47
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue