Fix: import of ctf_writer in bt2.stream
[babeltrace.git] / bindings / python / bt2 / bt2 / stream.py
index 32fb9a5fb0de8c44e9daa5e1d8e05593d72f48a8..0f76b6a2b7260ae147e3d8e6b10fa177c93bb8aa 100644 (file)
@@ -29,9 +29,9 @@ import bt2
 
 def _create_from_ptr(stream_ptr):
     if native_bt.ctf_stream_is_writer(stream_ptr):
-        import ctf_writer
+        import bt2.ctf_writer
 
-        cls = ctf_writer._CtfWriterStream
+        cls = bt2.ctf_writer._CtfWriterStream
     else:
         cls = _Stream
 
This page took 0.024204 seconds and 4 git commands to generate.