X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=bindings%2Fpython%2Fbt2%2Fbt2%2Fevent_class.py;fp=bindings%2Fpython%2Fbt2%2Fbt2%2Fevent_class.py;h=d3141b86f0a79a0362c9cd3fc6ad18be343c41e2;hp=d63c93476532e4ab32a6f20e0cc1b34faf142b4b;hb=2c6f8520ad68e1ca0c9554d705c39790e7d3ef5f;hpb=0fd756a43bce605875565a14c1ed1b070fa3ad94 diff --git a/bindings/python/bt2/bt2/event_class.py b/bindings/python/bt2/bt2/event_class.py index d63c9347..d3141b86 100644 --- a/bindings/python/bt2/bt2/event_class.py +++ b/bindings/python/bt2/bt2/event_class.py @@ -45,7 +45,7 @@ class EventClassLogLevel: DEBUG = native_bt.EVENT_CLASS_LOG_LEVEL_DEBUG -class EventClass(object._SharedObject): +class _EventClass(object._SharedObject): _get_ref = staticmethod(native_bt.event_class_get_ref) _put_ref = staticmethod(native_bt.event_class_put_ref) @@ -54,7 +54,7 @@ class EventClass(object._SharedObject): sc_ptr = native_bt.event_class_borrow_stream_class(self._ptr) if sc_ptr is not None: - return bt2.stream_class.StreamClass._create_from_ptr_and_get_ref(sc_ptr) + return bt2.stream_class._StreamClass._create_from_ptr_and_get_ref(sc_ptr) @property def name(self):