bt2: rename object's own BT class property to `cls`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 6 Jun 2019 22:57:59 +0000 (18:57 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 13 Jun 2019 21:24:22 +0000 (17:24 -0400)
commitc88be1c8922721319e43fa0cd6eff9adcaa880e2
tree6d4c4d87193297dfcf51a8eff57602134642762c
parent78668ecd960b005fffdcd01b326560db18d280f2
bt2: rename object's own BT class property to `cls`

Having `mein_event.event_class` is redundant; what we really want is
`mein_event.class`, but `class` is a reserved word, so use `cls`.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ib1f0c91ca37e91b7704ca61fb7380bb79cb48927
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1394
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
13 files changed:
bindings/python/bt2/bt2/component.py
bindings/python/bt2/bt2/event.py
bindings/python/bt2/bt2/message.py
bindings/python/bt2/bt2/message_iterator.py
bindings/python/bt2/bt2/stream.py
bindings/python/bt2/bt2/trace_collection_message_iterator.py
tests/bindings/python/bt2/test_component.py
tests/bindings/python/bt2/test_component_class.py
tests/bindings/python/bt2/test_event.py
tests/bindings/python/bt2/test_graph.py
tests/bindings/python/bt2/test_message.py
tests/bindings/python/bt2/test_message_iterator.py
tests/bindings/python/bt2/test_stream.py
This page took 0.027917 seconds and 4 git commands to generate.