Skip to content

Commit

Permalink
Fix flake8 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Dec 7, 2023
1 parent 5d424b8 commit d321378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/podio_gen/generator_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def _is_fixed_width_type(type_name):
type_name = type_name[5:]

if ALL_FIXED_WIDTH_TYPES_RGX.match(type_name):
if not type_name in ALLOWED_FIXED_WIDTH_TYPES:
if type_name not in ALLOWED_FIXED_WIDTH_TYPES:
raise DefinitionError(f"{type_name} is a fixed width integer type that is not allowed")
return True

Expand Down

0 comments on commit d321378

Please sign in to comment.