bt2: make _create_event_message's parent parameter mandatory
authorSimon Marchi <simon.marchi@efficios.com>
Sat, 17 Aug 2019 05:24:46 +0000 (01:24 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 26 Aug 2019 17:54:45 +0000 (13:54 -0400)
commit36d9460da8c2d8aeab46c05be35526c5ee948f7d
treeeed91f5afe67f229054d9a6c7eec641879baf810
parentd23b766e7b7542ddff2211264b4ece1f3a347773
bt2: make _create_event_message's parent parameter mandatory

The `parent` parameter of _create_event_message currently has the None
default value.  However, None is never a valid value, as parent must
either be a Stream or a Packet.  Having a None default value makes it
look like the parameter is optional, but is actually always required.

Therefore, remove the None default value from the parameter.

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