projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bt2: rename CreationError to MemoryError, handle it in and out of Python bindings
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
trace.py
diff --git
a/src/bindings/python/bt2/bt2/trace.py
b/src/bindings/python/bt2/bt2/trace.py
index 86bd90d05ae1d58844e9654a2f6009fe3eb0d3b1..5516a986daaa00893e9f626d654686a6b28b5f9b 100644
(file)
--- 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.
Creation
Error('cannot create stream object')
+ raise bt2.
Memory
Error('cannot create stream object')
stream = bt2.stream._Stream._create_from_ptr(stream_ptr)
This page took
0.02526 seconds
and
4
git commands to generate.