projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bt2: make bt2.Error wrap current thread's error
[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 451ad6c996122ba2c25f7a0f8557ece05e4b1674..70011758cefaa01b0b2e4bd44e610de676cae606 100644
(file)
--- a/
src/bindings/python/bt2/bt2/stream.py
+++ b/
src/bindings/python/bt2/bt2/stream.py
@@
-55,7
+55,7
@@
class _Stream(bt2.object._SharedObject):
def create_packet(self):
if not self.cls.supports_packets:
- raise
bt2.
Error(
+ raise
Value
Error(
'cannot create packet: stream class does not support packets'
)
This page took
0.022764 seconds
and
4
git commands to generate.