projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bt2: pass all params to `babeltrace.trace-info` query when computing stream intersection
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
message_iterator.py
diff --git
a/src/bindings/python/bt2/bt2/message_iterator.py
b/src/bindings/python/bt2/bt2/message_iterator.py
index 23d6fbd5d0b28d4063b7fb7e325709560bd33267..5ccec738aad7a1b4cc7c66362cf4ed4c0f59c2fd 100644
(file)
--- a/
src/bindings/python/bt2/bt2/message_iterator.py
+++ b/
src/bindings/python/bt2/bt2/message_iterator.py
@@
-143,7
+143,7
@@
class _UserMessageIterator(_MessageIterator):
msg = next(self)
except StopIteration:
raise bt2.Stop
msg = next(self)
except StopIteration:
raise bt2.Stop
- except:
+ except
Exception
:
raise
utils._check_type(msg, bt2_message._Message)
raise
utils._check_type(msg, bt2_message._Message)
@@
-184,9
+184,7
@@
class _UserMessageIterator(_MessageIterator):
return _UserComponentInputPortMessageIterator(msg_iter_ptr)
return _UserComponentInputPortMessageIterator(msg_iter_ptr)
- def _create_event_message(
- self, event_class, parent=None, default_clock_snapshot=None
- ):
+ def _create_event_message(self, event_class, parent, default_clock_snapshot=None):
utils._check_type(event_class, bt2_event_class._EventClass)
if event_class.stream_class.supports_packets:
utils._check_type(event_class, bt2_event_class._EventClass)
if event_class.stream_class.supports_packets:
This page took
0.02327 seconds
and
4
git commands to generate.