updates error syntax

This commit is contained in:
Andy Eschbacher
2018-01-09 10:23:38 -05:00
parent 8e4bbb8a90
commit 77e73dbc75

View File

@@ -14,7 +14,7 @@ def verify_data(f):
plpy.error(NULL_VALUE_ERROR)
else:
return data
except Exception, err:
except Exception as err:
plpy.error('Analysis failed: {}'.format(err))
return []