diff options
author | 2020-08-05 06:12:09 +0000 | |
---|---|---|
committer | 2020-08-05 06:13:04 +0000 | |
commit | e879759fba8edeffa2492a0dfcbe9c48570a684b (patch) | |
tree | 93cac65ae45618503e0bc952699535b8350ea224 | |
parent | templates/*: remove unnecessary strips (diff) | |
download | pambase-e879759fba8edeffa2492a0dfcbe9c48570a684b.tar.gz pambase-e879759fba8edeffa2492a0dfcbe9c48570a684b.tar.bz2 pambase-e879759fba8edeffa2492a0dfcbe9c48570a684b.zip |
pambase.py: strip trailing whitespace in stackpambase-20200805
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-x | pambase.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |