From e29b342cef824d23d1e6238613ffbccc59e604aa Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Tue, 29 Aug 2017 18:04:45 -0400 Subject: [PATCH] Fix: import of ctf_writer in bt2.stream MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- bindings/python/bt2/bt2/stream.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1