X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Ftrace_class.py;h=c89e9d21dda0d4df5858fc322436388abfe212b2;hb=0a205e0153be49774ea297ead783c728db86dc0b;hp=7fa8fa455be1046934545276b1163282157b43bb;hpb=693de5b44771598bc21be051855e4d06b0a8a933;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/trace_class.py b/src/bindings/python/bt2/bt2/trace_class.py index 7fa8fa45..c89e9d21 100644 --- a/src/bindings/python/bt2/bt2/trace_class.py +++ b/src/bindings/python/bt2/bt2/trace_class.py @@ -87,7 +87,6 @@ class _TraceClassConst(object._SharedObject, collections.abc.Mapping): # Add a listener to be called when the trace class is destroyed. def add_destruction_listener(self, listener): - if not callable(listener): raise TypeError("'listener' parameter is not callable")