Use join() for iterable values in main.cf

This commit is contained in:
Javier Bértoli 2017-03-28 08:15:46 -03:00
parent 3183fc4351
commit b0aa531297

View File

@ -8,9 +8,7 @@
{{ parameter }} = {{ value }} {{ parameter }} = {{ value }}
{%- elif value is iterable -%} {%- elif value is iterable -%}
{{ parameter }} = {{ parameter }} =
{%- for v in value %} {{ value | join(', ')}}
{{ v }},
{%- endfor %}
{%- endif -%} {%- endif -%}
{%- do processed_parameters.append(parameter) %} {%- do processed_parameters.append(parameter) %}
{%- endif %} {%- endif %}