projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bt2: raise when bt2.create_plugin_from_name() finds nothing
[babeltrace.git]
/
bindings
/
python
/
bt2
/
plugin.py
diff --git
a/bindings/python/bt2/plugin.py
b/bindings/python/bt2/plugin.py
index 9ce4c53a61ab3f228209e2df40ba03324af388d9..920eb63642d71502868c3cc3becbe69e3c41e3af 100644
(file)
--- a/
bindings/python/bt2/plugin.py
+++ b/
bindings/python/bt2/plugin.py
@@
-61,7
+61,7
@@
def create_plugin_from_name(name):
plugin_ptr = native_bt.plugin_create_from_name(name)
if plugin_ptr is None:
- r
eturn
+ r
aise bt2.NoSuchPluginError(name)
return _Plugin._create_from_ptr(plugin_ptr)
This page took
0.024616 seconds
and
4
git commands to generate.