X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Ftrace_class.py;fp=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Ftrace_class.py;h=91c0980ff8a0190cb2f31ebe4c50556aed8067ce;hp=184de804bf1e614b41313e2d6ae50de588e2aabc;hb=eead7a7694f1f7e4bfb7b9e62832da077c5a0f51;hpb=0824d69ac4940b8d1277f6eb5dad8860c7f55088 diff --git a/src/bindings/python/bt2/bt2/trace_class.py b/src/bindings/python/bt2/bt2/trace_class.py index 184de804..91c0980f 100644 --- a/src/bindings/python/bt2/bt2/trace_class.py +++ b/src/bindings/python/bt2/bt2/trace_class.py @@ -36,7 +36,7 @@ import bt2 def _trace_class_destruction_listener_from_native( user_listener, handle, trace_class_ptr ): - trace_class = _TraceClass._create_from_ptr_and_get_ref(trace_class_ptr) + trace_class = _TraceClassConst._create_from_ptr_and_get_ref(trace_class_ptr) user_listener(trace_class) handle._invalidate()