bt2: prepend `_` to names of exception classes the user cannot call
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 24 Jul 2019 18:58:31 +0000 (14:58 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 25 Jul 2019 18:04:47 +0000 (14:04 -0400)
commitcb06aa2778f8a784a2d1fea212d00dfbc525657b
tree85ae3ab8229d703ecd4dc9d30ea2db69ff30ebfb
parent520cdc8260ea033f1c9f54b87d93fcb034ae8472
bt2: prepend `_` to names of exception classes the user cannot call

`bt2._OverflowError` and `bt2._IncompleteUserClass` are classes the
package's user cannot instantiate, so this patch adds the typical `_`
prefix to indicate that.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I42cb22311dac6d36dd7e57be86cc71d27ebab6a2
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1771
Tested-by: jenkins <jenkins@lttng.org>
src/bindings/python/bt2/bt2/__init__.py.in
src/bindings/python/bt2/bt2/component.py
src/bindings/python/bt2/bt2/utils.py
tests/bindings/python/bt2/test_clock_class.py
tests/bindings/python/bt2/test_component_class.py
This page took 0.025009 seconds and 4 git commands to generate.