From 897cc647119d99c87cbd401cebc32be9c860a482 Mon Sep 17 00:00:00 2001 From: Hilary James Oliver Date: Mon, 24 Jul 2023 23:46:11 +1200 Subject: [PATCH] Update cylc/flow/parsec/jinja2support.py [skip ci] --- cylc/flow/parsec/jinja2support.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cylc/flow/parsec/jinja2support.py b/cylc/flow/parsec/jinja2support.py index bd21d5a0f3a..46a40f3ffc8 100644 --- a/cylc/flow/parsec/jinja2support.py +++ b/cylc/flow/parsec/jinja2support.py @@ -305,4 +305,5 @@ def jinja2process( lines=get_error_lines(fpath, flines), ) + # Ignore blank lines (lone Jinja2 statements leave blank lines behind) return [line for line in lines if line.strip()]