mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-08-06 19:27:49 +00:00
Fix trailing newline getting dropped
Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user