From 293b3ddd58d1d9bb7e98b3717cbe86f9b5d26d28 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 29 May 2018 20:03:49 +0200 Subject: dns_forwarding.py: use a more fancy jinja2 syntax for delimiters --- src/conf_mode/dns_forwarding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf_mode/dns_forwarding.py b/src/conf_mode/dns_forwarding.py index 5b8724411..d28e8ff64 100755 --- a/src/conf_mode/dns_forwarding.py +++ b/src/conf_mode/dns_forwarding.py @@ -57,7 +57,7 @@ local-address={{ listen_on | join(',') }} forward-zones={% for d in domains %} {{ d.name }}={{ d.servers | join(";") }} -{%- if not loop.last %}, {% endif %} +{{- "," if not loop.last -}} {% endfor %} {% endif %} -- cgit v1.2.3