X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fquery_executor.py;h=36edb014e500a0a7573b200752a82db785ff7e2b;hb=0530003ff4f693e0a582a0ed4a15245455398b4a;hp=e23fc96f8f484731c0d76b5dfc12e7873e9898fc;hpb=f19e40a142db0e046c8afd4b692e15ee03f56ebc;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/query_executor.py b/src/bindings/python/bt2/bt2/query_executor.py index e23fc96f..36edb014 100644 --- a/src/bindings/python/bt2/bt2/query_executor.py +++ b/src/bindings/python/bt2/bt2/query_executor.py @@ -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: