bt2: add missing parameter to _UserComponentType._query
[babeltrace.git] / src / bindings / python / bt2 / bt2 / component.py
index 13c51bf8badfbe66e5ec0290fe6efab2ae02bbc4..b2edd34e49e4515a63a7d234e75671ff01fce4dd 100644 (file)
@@ -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)
@@ -549,7 +549,7 @@ class _UserComponentType(type):
 
         return results_addr
 
-    def _query(cls, query_executor, obj, params):
+    def _query(cls, query_executor, obj, params, log_level):
         raise NotImplementedError
 
     def _component_class_ptr(self):
This page took 0.027926 seconds and 4 git commands to generate.