bt2: rename _FieldPath to _FieldPathConst
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 16 Sep 2019 18:24:51 +0000 (14:24 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 17 Sep 2019 15:48:47 +0000 (11:48 -0400)
commit5679964cffc1ecbb1b7d4fbd6a5ab9f3a7832bba
treec6d7b044e07338d1c3a5c61aa12b12ae373952ec
parente70712b34fcae860414660c6b10451f57b50c25d
bt2: rename _FieldPath to _FieldPathConst

The Babeltrace API only returns const field_path objects, so from the
point of view of the user, it's always const.  Rename the Python object
to _FieldPathConst to reflect this.  If the API ever gives access to a
non-const version of field_path, then we can introduce a _FieldPath
type again.

Change-Id: I74a2889db48d570b4b6fbc28e43f98226dc5a053
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2055
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
src/bindings/python/bt2/bt2/field_class.py
src/bindings/python/bt2/bt2/field_path.py
This page took 0.024466 seconds and 4 git commands to generate.