X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fvalue.py;fp=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fvalue.py;h=e7b3969b3c0afc481958521dd87c1164a9826e00;hb=694c792bc8f078c02acde68a3390acafbb36b2f4;hp=2c9476604be8b337228716a4956b02dc8e4564ad;hpb=4acc866e829881299a13d0aa8e28b93807549975;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/value.py b/src/bindings/python/bt2/bt2/value.py index 2c947660..e7b3969b 100644 --- a/src/bindings/python/bt2/bt2/value.py +++ b/src/bindings/python/bt2/bt2/value.py @@ -92,7 +92,7 @@ class _Value(object._SharedObject, metaclass=abc.ABCMeta): def _check_create_status(self, ptr): if ptr is None: - raise bt2.MemoryError( + raise bt2._MemoryError( 'cannot create {} value object'.format(self._NAME.lower()) )