bt2: Add `Const` suffix to `_Connection` class and adapt tests
[babeltrace.git] / src / bindings / python / bt2 / bt2 / connection.py
index 74fe022d69d8882d938af7a7ecf9a8af180a9754..cb69ef5af79e5d68d52c7df88e6e3f9a9339ca46 100644 (file)
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
-from bt2 import native_bt, utils
-from bt2 import message_iterator as bt2_message_iterator
+from bt2 import native_bt
 from bt2 import port as bt2_port
 from bt2 import object as bt2_object
-import bt2
 
 
-class _Connection(bt2_object._SharedObject):
+class _ConnectionConst(bt2_object._SharedObject):
     _get_ref = staticmethod(native_bt.connection_get_ref)
     _put_ref = staticmethod(native_bt.connection_put_ref)
 
This page took 0.023151 seconds and 4 git commands to generate.