From: Michael Jeanson Date: Tue, 29 Aug 2017 22:04:45 +0000 (-0400) Subject: Fix: import of ctf_writer in bt2.stream X-Git-Tag: v2.0.0-pre4~89 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=b322603aeb538b08372e1e077209f2cbc862f0fa Fix: import of ctf_writer in bt2.stream Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- 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