Skip to content

Commit 47dc3e0

Browse files
AlexisPotvinARAeboasson
authored andcommitted
Fix invalid syntax in cli for python3.7
Python 3.7 does not support unpacking without parentheses in return statements
1 parent 4335997 commit 47dc3e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cyclonedds/tools/cli/idl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def _array_size(cls, _type):
127127
if isinstance(_type, array):
128128
inner = cls._array_size(_type.subtype)
129129
if inner is not None:
130-
return _type.length, *inner
130+
return (_type.length, *inner)
131131
return (_type.length,)
132132
return tuple()
133133

0 commit comments

Comments
 (0)