Use join() for iterable values in main.cf
This commit is contained in:
parent
3183fc4351
commit
b0aa531297
@ -8,9 +8,7 @@
|
||||
{{ parameter }} = {{ value }}
|
||||
{%- elif value is iterable -%}
|
||||
{{ parameter }} =
|
||||
{%- for v in value %}
|
||||
{{ v }},
|
||||
{%- endfor %}
|
||||
{{ value | join(', ')}}
|
||||
{%- endif -%}
|
||||
{%- do processed_parameters.append(parameter) %}
|
||||
{%- endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user