bt2: make bt2.Error wrap current thread's error
[babeltrace.git] / src / bindings / python / bt2 / bt2 / native_bt.i
index 49adfbfdf9b410fd6f719f48e5d58706c3bb9cdd..d27e4279ade8103799e043c0d29af120c4070242 100644 (file)
@@ -164,7 +164,6 @@ typedef int bt_bool;
                $result = Py_False;
        }
        Py_INCREF($result);
-       return $result;
 }
 
 /*
@@ -203,6 +202,7 @@ typedef int bt_bool;
 %include "native_bt_component.i"
 %include "native_bt_component_class.i"
 %include "native_bt_connection.i"
+%include "native_bt_error.i"
 %include "native_bt_event.i"
 %include "native_bt_event_class.i"
 %include "native_bt_field.i"
This page took 0.023356 seconds and 4 git commands to generate.