Skip to content

Commit 2a61cfc

Browse files
Chen Lihuifujitatomoya
andcommitted
address comments
Co-authored-by: Tomoya Fujita <[email protected]> Signed-off-by: Chen Lihui <[email protected]>
1 parent 243ae80 commit 2a61cfc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rosidl_generator_py/resource/_msg.py.em

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ if member.name in dict(inspect.getmembers(builtins)).keys():
491491
@{assert_msg_suffixes.append("and each value of type '%s'" % get_python_type(type_))}@
492492
@[ if get_python_type(type_) == 'bytes']@
493493
@{byte_array_detected = True}@
494-
@{assert_msg_suffixes.append("or type 'int' in range(0, 256)")}@
494+
@{assert_msg_suffixes.append("or type 'int' in range(0, 255)")}@
495495
(isinstance(value, @(get_python_type(type_))) or
496496
all(isinstance(v, @(get_python_type(type_))) for v in value) or
497497
all(isinstance(v, int) for v in value)) and

rosidl_generator_py/test/test_byte_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2022 Open Source Robotics Foundation, Inc.
1+
# Copyright 2022 Sony Group Corporation.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)