projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bt2: pass custom Python object to Python component's __init__()
[babeltrace.git]
/
tests
/
bindings
/
python
/
bt2
/
utils.py
diff --git
a/tests/bindings/python/bt2/utils.py
b/tests/bindings/python/bt2/utils.py
index 46be6fe22524ac369b5057616a671f4c873be668..1f9a6c2768ae2e0635d55c136425b5250ac8e030 100644
(file)
--- a/
tests/bindings/python/bt2/utils.py
+++ b/
tests/bindings/python/bt2/utils.py
@@
-26,7
+26,7
@@
import bt2
def run_in_component_init(func):
class MySink(bt2._UserSinkComponent):
- def __init__(self, params):
+ def __init__(self, params
, obj
):
nonlocal res_bound
res_bound = func(self)
This page took
0.024051 seconds
and
4
git commands to generate.