Fix string handling

This commit is contained in:
York-Simon Johannsen
2021-11-28 17:20:25 +01:00
parent bdf770ac34
commit e65ce78895

View File

@ -3,6 +3,8 @@
{% for key, value in apt_deb822_options.items() %}
{{ key }}: {%- if value is boolean %}
{{ 'Yes' if value else 'No' -}}
{% elif value is string %}
{{ value -}}
{% elif value is iterable and (var is not string and var is not mapping) %}
{{ value | join(' ') -}}
{% endif +%}