projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: make default query implementation return INVALID_OBJECT, remove UNSUPPORTED...
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
utils.py
diff --git
a/src/bindings/python/bt2/bt2/utils.py
b/src/bindings/python/bt2/bt2/utils.py
index 5cbbb89b2ed55983aceaa7bb8100552c3294e3e0..bd4dd7a9406c3749dc1e5865d98e6f560326769e 100644
(file)
--- a/
src/bindings/python/bt2/bt2/utils.py
+++ b/
src/bindings/python/bt2/bt2/utils.py
@@
-171,10
+171,5
@@
def _handle_func_status(status, msg=None):
raise bt2.InvalidParams
else:
raise bt2.InvalidParams(msg)
- elif status == native_bt.__BT_FUNC_STATUS_UNSUPPORTED:
- if msg is None:
- raise bt2.Unsupported
- else:
- raise bt2.Unsupported(msg)
else:
assert False
This page took
0.024347 seconds
and
4
git commands to generate.