projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bt2: clean available `bt2` package names
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
plugin.py
diff --git
a/src/bindings/python/bt2/bt2/plugin.py
b/src/bindings/python/bt2/bt2/plugin.py
index 597f38f24e8f3405990b91fa7eebb17821e70df1..d59d0fef3d0edb33d984c58ac7fe587c1251a8de 100644
(file)
--- a/
src/bindings/python/bt2/bt2/plugin.py
+++ b/
src/bindings/python/bt2/bt2/plugin.py
@@
-22,7
+22,7
@@
from bt2 import native_bt, object, utils
import collections.abc
from bt2 import native_bt, object, utils
import collections.abc
-
import bt2.
component
+
from bt2 import component as bt2_
component
import os.path
import bt2
import os.path
import bt2
@@
-180,7
+180,7
@@
class _PluginComponentClassesIterator(collections.abc.Iterator):
self._at += 1
comp_cls_type = self._plugin_comp_cls._comp_cls_type
self._at += 1
comp_cls_type = self._plugin_comp_cls._comp_cls_type
- comp_cls_pycls = bt2
.
component._COMP_CLS_TYPE_TO_GENERIC_COMP_CLS_PYCLS[
+ comp_cls_pycls = bt2
_
component._COMP_CLS_TYPE_TO_GENERIC_COMP_CLS_PYCLS[
comp_cls_type
]
comp_cls_ptr = comp_cls_pycls._bt_as_component_class_ptr(comp_cls_ptr)
comp_cls_type
]
comp_cls_ptr = comp_cls_pycls._bt_as_component_class_ptr(comp_cls_ptr)
@@
-200,7
+200,7
@@
class _PluginComponentClasses(collections.abc.Mapping):
if cc_ptr is None:
raise KeyError(key)
if cc_ptr is None:
raise KeyError(key)
- return bt2
.
component._create_component_class_from_ptr_and_get_ref(
+ return bt2
_
component._create_component_class_from_ptr_and_get_ref(
cc_ptr, self._comp_cls_type
)
cc_ptr, self._comp_cls_type
)
This page took
0.025458 seconds
and
4
git commands to generate.