X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bindings%2Fpython%2Fbt2%2Fbt2%2Fstream.py;fp=bindings%2Fpython%2Fbt2%2Fbt2%2Fstream.py;h=0f76b6a2b7260ae147e3d8e6b10fa177c93bb8aa;hb=e29b342cef824d23d1e6238613ffbccc59e604aa;hp=32fb9a5fb0de8c44e9daa5e1d8e05593d72f48a8;hpb=6b475588fccef388703ff34802262405e9f99da1;p=babeltrace.git diff --git a/bindings/python/bt2/bt2/stream.py b/bindings/python/bt2/bt2/stream.py index 32fb9a5f..0f76b6a2 100644 --- a/bindings/python/bt2/bt2/stream.py +++ b/bindings/python/bt2/bt2/stream.py @@ -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