Apply black code formatter on all Python code
[babeltrace.git] / src / bindings / python / bt2 / bt2 / field_path.py
index 2191171e02055317cc331551888bf32c45a4dc37..2df37015be0c946e3d23e89d6d3234d11698c5d1 100644 (file)
@@ -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,
 }
This page took 0.025646 seconds and 4 git commands to generate.