projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Standardize `!ptr` i/o `ptr == NULL`, `ptr` i/o `ptr != NULL`
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
native_bt_component_class.i
diff --git
a/src/bindings/python/bt2/bt2/native_bt_component_class.i
b/src/bindings/python/bt2/bt2/native_bt_component_class.i
index 42feccf5a1d80d451b19879f9af4ea065bc83725..4b718015738c76f8be9254a6e5fcfccd62a4d9a6 100644
(file)
--- a/
src/bindings/python/bt2/bt2/native_bt_component_class.i
+++ b/
src/bindings/python/bt2/bt2/native_bt_component_class.i
@@
-181,7
+181,7
@@
void log_exception_and_maybe_append_error(int log_level,
{
GString *gstr;
- BT_ASSERT(PyErr_Occurred()
!= NULL
);
+ BT_ASSERT(PyErr_Occurred());
gstr = bt_py_common_format_exception(BT_LOG_OUTPUT_LEVEL);
if (!gstr) {
/* bt_py_common_format_exception() logs errors */
This page took
0.023458 seconds
and
4
git commands to generate.