projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: remove `BT_GRAPH_RUN_STATUS_END`
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
graph.py
diff --git
a/src/bindings/python/bt2/bt2/graph.py
b/src/bindings/python/bt2/bt2/graph.py
index ef40014ba9262e58e678193e2b9355c59a92de27..a36c85d1b7176cb37626aa1976775a40ec8454b8 100644
(file)
--- a/
src/bindings/python/bt2/bt2/graph.py
+++ b/
src/bindings/python/bt2/bt2/graph.py
@@
-189,14
+189,7
@@
class Graph(object._SharedObject):
def run(self):
status = native_bt.graph_run(self._ptr)
def run(self):
status = native_bt.graph_run(self._ptr)
-
- try:
- utils._handle_func_status(status, 'graph object stopped running')
- except bt2.Stop:
- # done
- return
- except Exception:
- raise
+ utils._handle_func_status(status, 'graph object stopped running')
def add_interrupter(self, interrupter):
utils._check_type(interrupter, bt2_interrupter.Interrupter)
def add_interrupter(self, interrupter):
utils._check_type(interrupter, bt2_interrupter.Interrupter)
This page took
0.024066 seconds
and
4
git commands to generate.