aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pambase.py')
-rwxr-xr-xpambase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pambase.py b/pambase.py
index 9765778..8f04870 100755
--- a/pambase.py
+++ b/pambase.py
@@ -89,7 +89,7 @@ def parse_templates(processed_args):
# Strip all intermediate lines to not worry about appeasing Jinja
lines = rendered_template.split("\n")
- lines = [line for line in lines if line]
+ lines = [line.strip() for line in lines if line]
rendered_template = "\n".join(lines)
if rendered_template: