X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Ffield_path.py;h=2df37015be0c946e3d23e89d6d3234d11698c5d1;hp=2191171e02055317cc331551888bf32c45a4dc37;hb=cfbd7cf3bde05e8a6606478889dcd663604ef7b5;hpb=e3f7fd922b3dc8fd92ad9397f4f9e175ff843b2a diff --git a/src/bindings/python/bt2/bt2/field_path.py b/src/bindings/python/bt2/bt2/field_path.py index 2191171e..2df37015 100644 --- a/src/bindings/python/bt2/bt2/field_path.py +++ b/src/bindings/python/bt2/bt2/field_path.py @@ -69,7 +69,7 @@ class _FieldPath(object._SharedObject, collections.abc.Iterable): idx = native_bt.field_path_item_index_get_index(item_ptr) yield _IndexFieldPathItem(idx) elif item_type == native_bt.FIELD_PATH_ITEM_TYPE_CURRENT_ARRAY_ELEMENT: - yield _CurrentArrayElementFieldPathItem() + yield _CurrentArrayElementFieldPathItem() else: assert False @@ -78,5 +78,5 @@ _SCOPE_TO_OBJ = { native_bt.SCOPE_PACKET_CONTEXT: Scope.PACKET_CONTEXT, native_bt.SCOPE_EVENT_COMMON_CONTEXT: Scope.EVENT_COMMON_CONTEXT, native_bt.SCOPE_EVENT_SPECIFIC_CONTEXT: Scope.EVENT_SPECIFIC_CONTEXT, - native_bt.SCOPE_EVENT_PAYLOAD: Scope.EVENT_PAYLOAD + native_bt.SCOPE_EVENT_PAYLOAD: Scope.EVENT_PAYLOAD, }