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():
|
def main():
|
||||||
try:
|
try:
|
||||||
test()
|
test()
|
||||||
except GribInternalError,err:
|
except GribInternalError as err:
|
||||||
if VERBOSE:
|
if VERBOSE:
|
||||||
traceback.print_exc(file=sys.stderr)
|
traceback.print_exc(file=sys.stderr)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue