projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bt2: make log functions clear error indicator
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
native_bt_trace.i.h
diff --git
a/src/bindings/python/bt2/bt2/native_bt_trace.i.h
b/src/bindings/python/bt2/bt2/native_bt_trace.i.h
index c525fa11e1e16cfc232f75517cfdde993d21dd61..e8cd75b7c891f622c3ba0f0e1c446dd54b46ea67 100644
(file)
--- a/
src/bindings/python/bt2/bt2/native_bt_trace.i.h
+++ b/
src/bindings/python/bt2/bt2/native_bt_trace.i.h
@@
-37,8
+37,7
@@
trace_destroyed_listener(const bt_trace *trace, void *py_callable)
py_res = PyObject_CallFunction(py_callable, "(O)", py_trace_ptr);
if (!py_res) {
- logw_exception(BT_LOG_OUTPUT_LEVEL);
- PyErr_Clear();
+ logw_exception_clear(BT_LOG_OUTPUT_LEVEL);
goto end;
}
This page took
0.023839 seconds
and
4
git commands to generate.