diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-03 10:52:11 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-05-03 11:22:54 +0300 |
commit | a821a2db3d5e4c5a302de677a127a662942c46ae (patch) | |
tree | 16c97579b5dfd54d75291c29cc7c544da2460bdf /source/blender/python/generic | |
parent | 1fc95d829f92b81737095a146313131633286b8e (diff) |
Cleanup: remove redundant PyErr_Clear calls after PyErr_Fetch
Diffstat (limited to 'source/blender/python/generic')
-rw-r--r-- | source/blender/python/generic/py_capi_utils.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c index 7a8c320c39d..3b64fb23460 100644 --- a/source/blender/python/generic/py_capi_utils.c +++ b/source/blender/python/generic/py_capi_utils.c @@ -869,8 +869,6 @@ PyObject *PyC_ExceptionBuffer(void) PyErr_Fetch(&error_type, &error_value, &error_traceback); - PyErr_Clear(); - /* import io * string_io = io.StringIO() */ |