diff options
author | Loys Ollivier <lollivier@baylibre.com> | 2017-12-06 14:56:13 +0100 |
---|---|---|
committer | Loys Ollivier <lollivier@baylibre.com> | 2017-12-06 14:56:13 +0100 |
commit | 40e9a765eebc5c5754188338b8eb34059a054ebb (patch) | |
tree | 6f600959c3daea8a60e3fcc8bc23ee972a2bfbec /templates/URLs | |
parent | 1d686ceffb79898104b8f2bfd76960f82a3e53b5 (diff) |
utils/agljobtemplate.py: Raise an error if jinja version is incorrect
The jinja2 template calls needs a jinja version >= 2.9. Otherwise fails
to create a correct output yaml file.
Check for the jinja version at runtime. More precisely, check for a
specific function that was added in 2.9 and raise an error if it does
not exist.
Change-Id: Ifd627a25dcfabdd639c53e1b29b891db8bff50c4
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
Diffstat (limited to 'templates/URLs')
0 files changed, 0 insertions, 0 deletions