projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bump black to version 23
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
trace_class.py
diff --git
a/src/bindings/python/bt2/bt2/trace_class.py
b/src/bindings/python/bt2/bt2/trace_class.py
index 7fa8fa455be1046934545276b1163282157b43bb..c89e9d21dda0d4df5858fc322436388abfe212b2 100644
(file)
--- 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")
This page took
0.025172 seconds
and
4
git commands to generate.