X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fcomponent.py;h=90704262cc627ebfe15ff090b1ef28e67f3fc1c7;hb=f4e38e70bf6dc1ff8c9226d9c8eedaf26fa19f09;hp=13c51bf8badfbe66e5ec0290fe6efab2ae02bbc4;hpb=86d8b7b82095055ced36135ecf4336753360cea4;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/component.py b/src/bindings/python/bt2/bt2/component.py index 13c51bf8..90704262 100644 --- a/src/bindings/python/bt2/bt2/component.py +++ b/src/bindings/python/bt2/bt2/component.py @@ -524,7 +524,7 @@ class _UserComponentType(type): def addr(cls): return int(cls._cc_ptr) - def _query_from_native(cls, query_exec_ptr, obj, params_ptr): + def _query_from_native(cls, query_exec_ptr, obj, params_ptr, log_level): # this can raise, in which case the native call to # bt_component_class_query() returns NULL if params_ptr is not None: @@ -536,7 +536,7 @@ class _UserComponentType(type): query_exec_ptr) # this can raise, but the native side checks the exception - results = cls._query(query_exec, obj, params) + results = cls._query(query_exec, obj, params, log_level) # this can raise, but the native side checks the exception results = bt2.create_value(results)