Skip to content

Commit

Permalink
parse_yaml.py: keep the trailing newline
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoB81HK committed Dec 7, 2023
1 parent a9f7f2a commit 48b947a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,6 @@ def __str__(self):
# ),
}

j2_template = Template(GenerateCode.templates["parameter_library_header"])
j2_template = Template(GenerateCode.templates["parameter_library_header"], keep_trailing_newline=True)
code = j2_template.render(data, trim_blocks=True)
return code

0 comments on commit 48b947a

Please sign in to comment.