bt2: Add `Const` suffix to `_Connection` class and adapt tests
[babeltrace.git] / src / bindings / python / bt2 / bt2 / port.py
index 963a5b3c603097684b68422af5d86bf56de673ad..d3bc398fa500653b750a658a914b788fa6ed0d90 100644 (file)
@@ -68,7 +68,7 @@ class _Port(object._SharedObject):
         if conn_ptr is None:
             return
 
-        return bt2_connection._Connection._create_from_ptr_and_get_ref(conn_ptr)
+        return bt2_connection._ConnectionConst._create_from_ptr_and_get_ref(conn_ptr)
 
     @property
     def is_connected(self):
@@ -97,7 +97,7 @@ class _UserComponentPort(_Port):
         if conn_ptr is None:
             return
 
-        return bt2_connection._Connection._create_from_ptr_and_get_ref(conn_ptr)
+        return bt2_connection._ConnectionConst._create_from_ptr_and_get_ref(conn_ptr)
 
     @property
     def user_data(self):
This page took 0.023046 seconds and 4 git commands to generate.