Skip to content

Commit

Permalink
Jack White: Amended new call to EnumType.contruct_type()
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack White committed Dec 11, 2023
1 parent 608f4f7 commit 19dafcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fprime_gds/common/loaders/xml_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def get_enum_type(self, enum_name, xml_obj):
item_val = int(item.get(self.ENUM_ELEM_VAL_TAG))
members[item_name] = item_val

enum_obj = EnumType.construct_type(enum_name, members, rep_type=serialize_type)
enum_obj = EnumType.construct_type(enum_name, members, serialize_type)

Check failure

Code scanning / CodeQL

Wrong number of arguments in a call Error

Call to
method EnumType.construct_type
with too many arguments; should be no more than 2.

self.enums[enum_name] = enum_obj
return enum_obj
Expand Down

0 comments on commit 19dafcc

Please sign in to comment.