X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fmessage_iterator.py;h=5ccec738aad7a1b4cc7c66362cf4ed4c0f59c2fd;hb=4c4935bf825b84aeffa36234e95492fc6d2e9920;hp=5895b23735b2a30f343b22bdb3c3ec1fa0754710;hpb=6a4dbecc89debb548aeb24d49e2a8a500c03f3e7;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/message_iterator.py b/src/bindings/python/bt2/bt2/message_iterator.py index 5895b237..5ccec738 100644 --- 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 - except: + except Exception: raise utils._check_type(msg, bt2_message._Message)