Skip to content

Commit

Permalink
Update rosidl_generator_py/resource/_msg.py.em
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Lalancette <clalancette@gmail.com>
  • Loading branch information
Voldivh and clalancette committed Apr 5, 2023
1 parent 070d901 commit 577cfa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rosidl_generator_py/resource/_msg.py.em
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ if isinstance(type_, AbstractNestedType):
typename.pop()
typename.append(self.__class__.__name__)
args = []
for s, t in zip(self.get_fields_and_field_types().keys, self.SLOT_TYPES):
for s, t in zip(self.get_fields_and_field_types().keys(), self.SLOT_TYPES):
field = getattr(self, s)
fieldstr = repr(field)
# We use Python array type for fields that can be directly stored
Expand Down

0 comments on commit 577cfa5

Please sign in to comment.