projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bt2: prepend underscore to exceptions not meant to be raised by user
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
value.py
diff --git
a/src/bindings/python/bt2/bt2/value.py
b/src/bindings/python/bt2/bt2/value.py
index 2c9476604be8b337228716a4956b02dc8e4564ad..e7b3969b3c0afc481958521dd87c1164a9826e00 100644
(file)
--- 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())
)
This page took
0.022798 seconds
and
4
git commands to generate.