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)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 7 Aug 2019 18:05:19 +0000 (14:05 -0400)
commit64e96b5d4769fa0d62afdcfb700cb24d779b74a3
tree97db43fbb4857a6027d04ffed83f89a362dc72d5
parentf67e22d1ab65d819806e4596b39130389b04be99
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.024829 seconds and 4 git commands to generate.