X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fplugin.py;h=620bd76ad4156a27e9335433dacdd7ddb7721f67;hb=85906b6b4c37140f8bdd4a6861ecbc82fc62f816;hp=16c7c4a1ac8dc7122c2dda1b4a262c18ea5fb6b4;hpb=89b5033a9ebfe2fde020ae8a56dabd7c8af3354d;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/plugin.py b/src/bindings/python/bt2/bt2/plugin.py index 16c7c4a1..620bd76a 100644 --- a/src/bindings/python/bt2/bt2/plugin.py +++ b/src/bindings/python/bt2/bt2/plugin.py @@ -131,7 +131,7 @@ class _PluginComponentClassesIterator(collections.abc.Iterator): comp_cls_type = self._plugin_comp_cls._comp_cls_type comp_cls_pycls = bt2.component._COMP_CLS_TYPE_TO_GENERIC_COMP_CLS_PYCLS[comp_cls_type] - comp_cls_ptr = comp_cls_pycls._as_component_class_ptr(comp_cls_ptr) + comp_cls_ptr = comp_cls_pycls._bt_as_component_class_ptr(comp_cls_ptr) name = native_bt.component_class_get_name(comp_cls_ptr) assert name is not None return name