projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
python: remove internal `import bt2` imports
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
component_descriptor.py
diff --git
a/src/bindings/python/bt2/bt2/component_descriptor.py
b/src/bindings/python/bt2/bt2/component_descriptor.py
index c09c98ef521eca5341cf971f6c2dd83ae0fe2051..4decafecd1ea4e33e5a39ea77bc9e9cc74fa57c9 100644
(file)
--- a/
src/bindings/python/bt2/bt2/component_descriptor.py
+++ b/
src/bindings/python/bt2/bt2/component_descriptor.py
@@
-4,7
+4,7
@@
from bt2 import native_bt
from bt2 import component as bt2_component
from bt2 import native_bt
from bt2 import component as bt2_component
-import bt2
+from bt2 import value as bt2_value
def _is_source_comp_cls(comp_cls):
def _is_source_comp_cls(comp_cls):
@@
-56,7
+56,7
@@
class ComponentDescriptor:
raise ValueError("cannot pass a Python object to a non-Python component")
self._comp_cls = component_class
raise ValueError("cannot pass a Python object to a non-Python component")
self._comp_cls = component_class
- self._params = bt2.create_value(params)
+ self._params = bt2
_value
.create_value(params)
self._obj = obj
@property
self._obj = obj
@property
This page took
0.025267 seconds
and
4
git commands to generate.