summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2023-05-23 16:00:48 -0300
committerNicolas Fort <nicolasfort1988@gmail.com>2023-08-11 11:40:57 -0300
commitdbf7501d0c75cd626170f53e93f7ddd4d6a67584 (patch)
treeb5a25858714f7b820d0a4392aa52d679b7f88d6a /python
parentac5b9a4630f87a34d367deef690e8a54cc1eabec (diff)
downloadvyos-1x-dbf7501d0c75cd626170f53e93f7ddd4d6a67584.tar.gz
vyos-1x-dbf7501d0c75cd626170f53e93f7ddd4d6a67584.zip
T5160: firewall refactor: re-add missing code in template.py which was accidentaly removed. Update smokestest: remove zone test and fix test_sysfs test
Diffstat (limited to 'python')
-rw-r--r--python/vyos/template.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/vyos/template.py b/python/vyos/template.py
index 5a3505b91..e167488c6 100644
--- a/python/vyos/template.py
+++ b/python/vyos/template.py
@@ -44,6 +44,7 @@ def _get_environment(location=None):
loader=loc_loader,
trim_blocks=True,
undefined=ChainableUndefined,
+ extensions=['jinja2.ext.loopcontrols']
)
env.filters.update(_FILTERS)
env.tests.update(_TESTS)