projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bt2: Add `Const` suffix to `_Connection` class and adapt tests
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
port.py
diff --git
a/src/bindings/python/bt2/bt2/port.py
b/src/bindings/python/bt2/bt2/port.py
index 963a5b3c603097684b68422af5d86bf56de673ad..d3bc398fa500653b750a658a914b788fa6ed0d90 100644
(file)
--- a/
src/bindings/python/bt2/bt2/port.py
+++ b/
src/bindings/python/bt2/bt2/port.py
@@
-68,7
+68,7
@@
class _Port(object._SharedObject):
if conn_ptr is None:
return
if conn_ptr is None:
return
- return bt2_connection._Connection._create_from_ptr_and_get_ref(conn_ptr)
+ return bt2_connection._Connection
Const
._create_from_ptr_and_get_ref(conn_ptr)
@property
def is_connected(self):
@property
def is_connected(self):
@@
-97,7
+97,7
@@
class _UserComponentPort(_Port):
if conn_ptr is None:
return
if conn_ptr is None:
return
- return bt2_connection._Connection._create_from_ptr_and_get_ref(conn_ptr)
+ return bt2_connection._Connection
Const
._create_from_ptr_and_get_ref(conn_ptr)
@property
def user_data(self):
@property
def user_data(self):
This page took
0.025311 seconds
and
4
git commands to generate.