mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2025-12-06 07:12:32 +01:00
Fix trailing newline getting dropped
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
1f1a34a226
commit
fe4ce6dfa2
|
|
@ -8,7 +8,8 @@ import jinja2
|
|||
def render(tpl_path):
|
||||
path, filename = os.path.split(tpl_path)
|
||||
return jinja2.Environment(
|
||||
loader=jinja2.FileSystemLoader(path or './')
|
||||
loader=jinja2.FileSystemLoader(path or './'),
|
||||
keep_trailing_newline=True,
|
||||
).get_template(filename).render()
|
||||
|
||||
n = len(sys.argv)
|
||||
|
|
|
|||
Loading…
Reference in a new issue