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
/
plugin.py
diff --git
a/src/bindings/python/bt2/bt2/plugin.py
b/src/bindings/python/bt2/bt2/plugin.py
index 86612920fde281b4b8a2cf8338ab876eb2b47ef7..5198bdf32abfa3bb8e9ba9a86e397af5f9bc1154 100644
(file)
--- a/
src/bindings/python/bt2/bt2/plugin.py
+++ b/
src/bindings/python/bt2/bt2/plugin.py
@@
-42,7
+42,7
@@
def find_plugins(path, recurse=True, fail_on_load_error=False):
path, int(recurse), int(fail_on_load_error)
)
else:
- raise
bt2.
Error("invalid path: '{}'".format(path))
+ raise
Value
Error("invalid path: '{}'".format(path))
if status == native_bt.__BT_FUNC_STATUS_NOT_FOUND:
return
This page took
0.024105 seconds
and
4
git commands to generate.