X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Ftrace.py;fp=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Ftrace.py;h=a90b53ce9433352d33bae6a7308f167b3088db12;hb=694c792bc8f078c02acde68a3390acafbb36b2f4;hp=5516a986daaa00893e9f626d654686a6b28b5f9b;hpb=4acc866e829881299a13d0aa8e28b93807549975;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/trace.py b/src/bindings/python/bt2/bt2/trace.py index 5516a986..a90b53ce 100644 --- a/src/bindings/python/bt2/bt2/trace.py +++ b/src/bindings/python/bt2/bt2/trace.py @@ -166,7 +166,7 @@ class _Trace(object._SharedObject, collections.abc.Mapping): ) if stream_ptr is None: - raise bt2.MemoryError('cannot create stream object') + raise bt2._MemoryError('cannot create stream object') stream = bt2.stream._Stream._create_from_ptr(stream_ptr)