X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Futils.py;h=5cbbb89b2ed55983aceaa7bb8100552c3294e3e0;hb=b189a968258bcf286f022208b71849f8194828bb;hp=bb8d1b322cfc9ba598938422f0253afc98fe13f4;hpb=1153eccbbc9fcacffeffd3d39556f250f12bce00;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/utils.py b/src/bindings/python/bt2/bt2/utils.py index bb8d1b32..5cbbb89b 100644 --- a/src/bindings/python/bt2/bt2/utils.py +++ b/src/bindings/python/bt2/bt2/utils.py @@ -156,11 +156,6 @@ def _handle_func_status(status, msg=None): raise bt2.Canceled else: raise bt2.Canceled(msg) - elif status == native_bt.__BT_FUNC_STATUS_LOADING_ERROR: - if msg is None: - raise bt2._LoadingError - else: - raise bt2._LoadingError(msg) elif status == native_bt.__BT_FUNC_STATUS_OVERFLOW: if msg is None: raise bt2.OverflowError