summaryrefslogtreecommitdiff
path: root/build/scons_tools
diff options
context:
space:
mode:
Diffstat (limited to 'build/scons_tools')
-rw-r--r--build/scons_tools/tool_jinja2.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/scons_tools/tool_jinja2.py b/build/scons_tools/tool_jinja2.py
index c85c559..edea043 100644
--- a/build/scons_tools/tool_jinja2.py
+++ b/build/scons_tools/tool_jinja2.py
@@ -5,6 +5,8 @@ loader = jinja2.FileSystemLoader('.')
jinja2_env = jinja2.Environment(
loader = loader,
+ trim_blocks = True,
+ lstrip_blocks = True,
)
jinja2_env.filters['hex'] = lambda value: '%#x' % value