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
/
stream.py
diff --git
a/src/bindings/python/bt2/bt2/stream.py
b/src/bindings/python/bt2/bt2/stream.py
index 70011758cefaa01b0b2e4bd44e610de676cae606..2e75990deff5b31a6fcfdb1a3cf646542bee9048 100644
(file)
--- a/
src/bindings/python/bt2/bt2/stream.py
+++ b/
src/bindings/python/bt2/bt2/stream.py
@@
-62,6
+62,6
@@
class _Stream(bt2.object._SharedObject):
packet_ptr = native_bt.packet_create(self._ptr)
if packet_ptr is None:
- raise bt2.
Creation
Error('cannot create packet object')
+ raise bt2.
Memory
Error('cannot create packet object')
return bt2.packet._Packet._create_from_ptr(packet_ptr)
This page took
0.023418 seconds
and
4
git commands to generate.