fixup jinja indentation

This commit is contained in:
Edward Hope-Morley 2015-10-01 09:45:55 +01:00
parent 8e85469516
commit ed1b4950f6

View File

@ -1,18 +1,18 @@
{% if sections and 'DEFAULT' in sections -%} {% if sections and 'DEFAULT' in sections -%}
{% for key, value in sections['DEFAULT'] -%} {% for key, value in sections['DEFAULT'] -%}
{{ key }} = {{ value }} {{ key }} = {{ value }}
{% endfor -%} {% endfor %}
{% endif -%} {%- endif %}
{% if backends -%} {% if backends -%}
enabled_backends = {{ backends }} enabled_backends = {{ backends }}
{% endif -%} {%- endif %}
{% for section in sections -%} {% for section in sections -%}
{% if section != 'DEFAULT' -%} {% if section != 'DEFAULT' -%}
[{{ section }}] [{{ section }}]
{% for key, value in sections[section] -%} {% for key, value in sections[section] -%}
{{ key }} = {{ value }} {{ key }} = {{ value }}
{% endfor -%} {% endfor %}
{% endif -%} {% endif %}
{% endfor -%} {%- endfor %}