bt2: Add `Const` suffix to non-user component-related classes and adapt tests
[babeltrace.git] / src / bindings / python / bt2 / bt2 / query_executor.py
index e23fc96f8f484731c0d76b5dfc12e7873e9898fc..36edb014e500a0a7573b200752a82db785ff7e2b 100644 (file)
@@ -50,7 +50,7 @@ class QueryExecutor(object._SharedObject, _QueryExecutorCommon):
         return self._ptr
 
     def __init__(self, component_class, object, params=None, method_obj=None):
-        if not isinstance(component_class, bt2_component._ComponentClass):
+        if not isinstance(component_class, bt2_component._ComponentClassConst):
             err = False
 
             try:
This page took 0.025601 seconds and 4 git commands to generate.