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)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 8 Jun 2019 00:38:02 +0000 (20:38 -0400)
commite8ac1aaec8f07304d16bf787950c14cd7c49fc75
treee4992fe7a10acef2cb4330c3b541573ed6164fc7
parent2c6f8520ad68e1ca0c9554d705c39790e7d3ef5f
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.025416 seconds and 4 git commands to generate.