Skip to content

Commit

Permalink
parse_yaml.py: keep the trailing newline (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoB81HK authored Dec 21, 2023
1 parent 052af12 commit 2734b70
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,9 @@ 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 2734b70

Please sign in to comment.