Skip to content

Commit

Permalink
Use consistent variable name
Browse files Browse the repository at this point in the history
Signed-off-by: Barry Xu <barry.xu@sony.com>
  • Loading branch information
Barry-Xu-2018 committed Dec 14, 2023
1 parent 5c20065 commit 0973840
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ros2bag/ros2bag/verb/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def main(self, *, args): # noqa: D102
record_options.regex = args.regex
record_options.exclude_regex = args.exclude_regex
record_options.exclude_topics = args.exclude_topics if args.exclude_topics else []
record_options.exclude_services = \
record_options.exclude_service_events = \
convert_service_to_service_event_topic(args.exclude_services)
record_options.node_prefix = NODE_NAME_PREFIX
record_options.compression_mode = args.compression_mode
Expand Down
2 changes: 1 addition & 1 deletion rosbag2_py/src/rosbag2_py/_transport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ PYBIND11_MODULE(_transport, m) {
.def_readwrite("regex", &RecordOptions::regex)
.def_readwrite("exclude_regex", &RecordOptions::exclude_regex)
.def_readwrite("exclude_topics", &RecordOptions::exclude_topics)
.def_readwrite("exclude_services", &RecordOptions::exclude_service_events)
.def_readwrite("exclude_service_events", &RecordOptions::exclude_service_events)
.def_readwrite("node_prefix", &RecordOptions::node_prefix)
.def_readwrite("compression_mode", &RecordOptions::compression_mode)
.def_readwrite("compression_format", &RecordOptions::compression_format)
Expand Down

0 comments on commit 0973840

Please sign in to comment.